OPEN - issue BATCH-371: FlatFileItemWriter no longer uses LineAggregator

http://jira.springframework.org/browse/BATCH-371

ASserted wrong exception type
This commit is contained in:
dsyer
2008-02-21 10:06:45 +00:00
parent ee0236d657
commit 54bbd4752d

View File

@@ -57,8 +57,8 @@ public class LineAggregatorItemTransformerTests extends TestCase {
public void testTransformWrongType() throws Exception {
try {
transformer.transform("foo");
fail("Expected ClassCastException");
} catch (ClassCastException e) {
fail("Expected ConversionException");
} catch (ConversionException e) {
// Expected
}