org.springframework.batch.item.transform
Class CompositeItemTransformerTests
java.lang.Object
TestCase
org.springframework.batch.item.transform.CompositeItemTransformerTests
public class CompositeItemTransformerTests
- extends TestCase
Tests for CompositeItemTransformer
.
- Author:
- Robert Kasanicky
Method Summary |
protected void |
setUp()
|
void |
testAfterPropertiesSet()
The list of transformers must not be null or empty and
can contain only instances of ItemTransformer . |
void |
testTransform()
Regular usage scenario - item is passed through the processing chain,
return value of the of the last transformation is returned by the composite. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositeItemTransformerTests
public CompositeItemTransformerTests()
setUp
protected void setUp()
throws Exception
- Throws:
Exception
testTransform
public void testTransform()
throws Exception
- Regular usage scenario - item is passed through the processing chain,
return value of the of the last transformation is returned by the composite.
- Throws:
Exception
testAfterPropertiesSet
public void testAfterPropertiesSet()
throws Exception
- The list of transformers must not be null or empty and
can contain only instances of
ItemTransformer
.
- Throws:
Exception
Copyright © 2008 SpringSource. All Rights Reserved.