@Test
@Transactional
public void shouldDuplicateSalaryOfAllEmployees() throws UnexpectedInputException, ParseException, Exception {
List<Employee> employees = new ArrayList<Employee>();
Employee employee = reader.read();
while (employee != null) {
employee.setSalary(employee.getSalary() * 2);
employees.add(employee);
employee = reader.read();
}
writer.write(employees);