Class AddDoNotCacheConditionToAssertionsTest

    • Constructor Detail

      • AddDoNotCacheConditionToAssertionsTest

        public AddDoNotCacheConditionToAssertionsTest()
    • Method Detail

      • testNoResponse

        public void testNoResponse()
                            throws Exception
        Test that action errors out properly if there is no response.
        Throws:
        Exception - if something goes wrong
      • testNoAssertion

        public void testNoAssertion()
                             throws Exception
        Test that action errors out properly if there is no assertion in the response.
        Throws:
        Exception - if something goes wrong
      • testSingleAssertion

        public void testSingleAssertion()
                                 throws Exception
        Test that the condition is properly added if there is a single assertion, without a Conditions element, in the response.
        Throws:
        Exception - if something goes wrong
      • testSingleAssertionWithExistingCondition

        public void testSingleAssertionWithExistingCondition()
                                                      throws Exception
        Test that the condition is properly added if there is a single assertion, with a Conditions element, in the response.
        Throws:
        Exception - if something goes wrong
      • testSingleAssertionWithExistingDoNotCacheCondition

        public void testSingleAssertionWithExistingDoNotCacheCondition()
                                                                throws Exception
        Test that an addition DoNotCache is not added if an assertion already contains one.
        Throws:
        Exception - if something goes wrong
      • testMultipleAssertion

        public void testMultipleAssertion()
                                   throws Exception
        Test that the condition is properly added if there are multiple assertions in the response.
        Throws:
        Exception - if something goes wrong