com.insightfullogic.lambdabehave.Block Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lambda-behave Show documentation
Show all versions of lambda-behave Show documentation
A modern testing and behavioural specification framework for Java 8
package com.insightfullogic.lambdabehave;
/**
* A runnable which can throw an Exception.
*/
@FunctionalInterface
public interface Block {
/**
* The method invoked to run the block of code.
*
* @throws Exception an exception that will cause tests to error
*/
public void run() throws Exception;
}