writer.close();
}
@Test
public void testWrite() throws Exception {
CustomerCredit credit = new CustomerCredit();
credit.setCredit(new BigDecimal(1));
credit.setName("testName");
writer.setSeparator(";");
output.write(Collections.singletonList("testName;1"));
output.open(new ExecutionContext());