@Test
public void givenAStepStartedWith1000Employees_when999ItemsAreWrittenTwice_thenProgressIs99() {

    startAStepWithEmployees(1000);
    jobProgressListener.afterWrite(aListWithSize(999));
    Mockito.verify(eventBus, times(2)).post(eventArgumentCaptor.capture());
    JobProgressEvent jobProgressEvent = eventArgumentCaptor.getValue();
    checkPercentageComplete(jobProgressEvent, 99);
}