IN PROGRESS - issue BATCH-476: samples cleanup
http://jira.springframework.org/browse/BATCH-476
This commit is contained in:
@@ -25,7 +25,7 @@ public class FlatFileCustomerCreditDaoTests extends TestCase {
|
||||
|
||||
//create new writer
|
||||
writer = new FlatFileCustomerCreditDao();
|
||||
writer.setOutputSource(output);
|
||||
writer.setItemWriter(output);
|
||||
}
|
||||
|
||||
public void testOpen() throws Exception {
|
||||
|
||||
@@ -22,7 +22,7 @@ public class CustomerCreditUpdateProcessorTests extends TestCase {
|
||||
dao = (CustomerCreditDao) daoControl.getMock();
|
||||
//create processor, set writer and credit filter
|
||||
writer = new CustomerCreditUpdateWriter();
|
||||
writer.setWriter(dao);
|
||||
writer.setDao(dao);
|
||||
writer.setCreditFilter(CREDIT_FILTER);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user