Class CXMLBuilderTest
- java.lang.Object
-
- de.hybris.platform.b2b.punchout.services.CXMLBuilderTest
-
@UnitTest public class CXMLBuilderTest extends java.lang.Object
Unit test forCXMLBuilder.
-
-
Constructor Summary
Constructors Constructor Description CXMLBuilderTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidshouldCreateCXMLBuilder()voidshouldCreateValidCXML()voidshouldCreateValidRootElemet()voidshouldUnmarshallFromStringXML()voidtestStatusCodeAndMessage()voidtestWhenOnlyStatusCode()Tests that when a new builder is configured with response code only the result contains aResponseobject with the correct data.
-
-
-
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()
-
testWhenOnlyStatusCode
public void testWhenOnlyStatusCode()
Tests that when a new builder is configured with response code only the result contains aResponseobject with the correct data.
-
-