Class CXMLBuilderTest

    • Constructor Detail

      • CXMLBuilderTest

        public CXMLBuilderTest()
    • Method Detail

      • shouldCreateCXMLBuilder

        public void shouldCreateCXMLBuilder()
      • shouldCreateValidCXML

        public void shouldCreateValidCXML()
      • shouldCreateValidRootElemet

        public void shouldCreateValidRootElemet()
      • shouldUnmarshallFromStringXML

        public void shouldUnmarshallFromStringXML()
                                           throws java.io.FileNotFoundException
        Throws:
        java.io.FileNotFoundException
      • testStatusCodeAndMessage

        public void testStatusCodeAndMessage()
        Tests that supplying both response code and message are part of the Response part of the CXML instance.
      • testWhenOnlyStatusCode

        public void testWhenOnlyStatusCode()
        Tests that when a new builder is configured with response code only the result contains a Response object with the correct data.