|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object TestCase org.springframework.batch.item.xml.oxm.UnmarshallingFragmentDeserializerTests
public class UnmarshallingFragmentDeserializerTests
Tests for UnmarshallingEventReaderDeserializer
Constructor Summary | |
---|---|
UnmarshallingFragmentDeserializerTests()
|
Method Summary | |
---|---|
protected void |
setUp()
|
void |
testExceptionOnNullUnmarshaller()
It makes no sense to create UnmarshallingFragmentDeserializer with null Unmarshaller, therefore it should cause exception. |
void |
testFailedDeserialization()
Appropriate exception rethrown in case of failure. |
void |
testSuccessfulDeserialization()
Regular scenario when deserializer returns the object provided by Unmarshaller |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UnmarshallingFragmentDeserializerTests()
Method Detail |
---|
protected void setUp() throws Exception
Exception
public void testSuccessfulDeserialization() throws Exception
Exception
public void testFailedDeserialization() throws Exception
Exception
public void testExceptionOnNullUnmarshaller()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |