Class CXMLBuilderTest
java.lang.Object
de.hybris.platform.b2b.punchout.services.CXMLBuilderTest
Unit test for
CXMLBuilder.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidTests that when a new builder is configured with response code only the result contains aResponseobject with the correct data.
-
Constructor Details
-
CXMLBuilderTest
public CXMLBuilderTest()
-
-
Method Details
-
shouldCreateCXMLBuilder
public void shouldCreateCXMLBuilder() -
shouldCreateValidCXML
public void shouldCreateValidCXML() -
shouldCreateValidRootElemet
public void shouldCreateValidRootElemet() -
shouldUnmarshallFromStringXML
- Throws:
FileNotFoundException
-
testStatusCodeAndMessage
public void testStatusCodeAndMessage() -
testWhenOnlyStatusCode
public void testWhenOnlyStatusCode()Tests that when a new builder is configured with response code only the result contains aResponseobject with the correct data.
-