Class UniformInterfaceExceptionRule
- java.lang.Object
-
- com.atlassian.bamboo.testutils.junit.rule.UniformInterfaceExceptionRule
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public class UniformInterfaceExceptionRule extends Object implements 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
Constructors Constructor Description UniformInterfaceExceptionRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.junit.runners.model.Statement
apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
-