org.springframework.batch.item.transform
Class ItemTransformerItemWriterTests
java.lang.Object
TestCase
org.springframework.batch.item.transform.ItemTransformerItemWriterTests
public class ItemTransformerItemWriterTests
- extends TestCase
Tests for ItemTransformerItemWriter
.
- Author:
- Robert Kasanicky
Method Summary |
protected void |
setUp()
|
void |
testAfterPropertiesSet()
Item transformer must be set. |
void |
testProcess()
Regular usage scenario - item is passed to transformer
and the result of transformation is passed to output source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ItemTransformerItemWriterTests
public ItemTransformerItemWriterTests()
setUp
protected void setUp()
throws Exception
- Throws:
Exception
testProcess
public void testProcess()
throws Exception
- Regular usage scenario - item is passed to transformer
and the result of transformation is passed to output source.
- Throws:
Exception
testAfterPropertiesSet
public void testAfterPropertiesSet()
throws Exception
- Item transformer must be set.
- Throws:
Exception
Copyright © 2008 SpringSource. All Rights Reserved.