
ar.com.dgarcia.javaspec.api.exceptions.FailingRunnable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-spec Show documentation
Show all versions of java-spec Show documentation
Junit testing extension to allow specs expressibility
The newest version!
package ar.com.dgarcia.javaspec.api.exceptions;
/**
* This type represents a runnable code tahta fails with a throwable
* Created by kfgodel on 29/04/16.
*/
public interface FailingRunnable {
/**
* Executes this code to fail with the expected exception
* @throws X The exception generated by this code
*/
void run() throws X;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy