Class 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 Detail

      • UniformInterfaceExceptionRule

        public UniformInterfaceExceptionRule()
    • Method Detail

      • apply

        public org.junit.runners.model.Statement apply​(org.junit.runners.model.Statement base,
                                                       org.junit.runner.Description description)
        Specified by:
        apply in interface org.junit.rules.TestRule