Class AddGeneratedKeyToAssertionsTest

    • Constructor Detail

      • AddGeneratedKeyToAssertionsTest

        public AddGeneratedKeyToAssertionsTest()
    • Method Detail

      • testNoResponse

        public void testNoResponse()
        Test that action errors out properly if there is no response.
      • testNoBindings

        public void testNoBindings()
        Test that action does nothing if there's no key.
      • testNoAssertion

        public void testNoAssertion()
        Test that action errors out properly if there is no assertion in the response.
      • testSingleAssertion

        public void testSingleAssertion()
                                 throws EncodingException
        Test that the advice is properly added if there is a single assertion, without an Advice element, in the response.
        Throws:
        EncodingException - if the ecp session key can not be base64 encoded.
      • testSingleAssertionWithExistingCondition

        public void testSingleAssertionWithExistingCondition()
                                                      throws EncodingException
        Test that the advice is properly added if there is a single assertion, with an Advice element, in the response.
        Throws:
        EncodingException - if the ecp session key can not be base64 encoded.
      • testMultipleAssertion

        public void testMultipleAssertion()
                                   throws EncodingException
        Test that the advice is properly added if there are multiple assertions in the response.
        Throws:
        EncodingException - if the ecp session key can not be base64 encoded.