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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user