Class UniformInterfaceExceptionRule
java.lang.Object
com.atlassian.bamboo.testutils.junit.rule.UniformInterfaceExceptionRule
- All Implemented Interfaces:
org.junit.rules.TestRule
This listener acts if test failed with UniformInterfaceException.
In such case it wraps the exception with the one that also lists the full response from the server.
I just couldn't find easier way of covering all backdoor methods with this code.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.junit.runners.model.Statement
apply
(org.junit.runners.model.Statement base, org.junit.runner.Description description)
-
Constructor Details
-
UniformInterfaceExceptionRule
public UniformInterfaceExceptionRule()
-
-
Method Details
-
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description) - Specified by:
apply
in interfaceorg.junit.rules.TestRule
-