@Test
public void whenAddRunWithEventNoPriorRunsItShouldSetSequence() throws AddEntityException {

    when(gateway.findLastInSequenceForEvent(addPayloadEvent)).thenReturn(null);
    when(gateway.add(addPayload)).thenReturn(addedRun);
    Run actual = service.add(addPayload);
    verify(addPayload).setSequence(1);
    verify(gateway).add(addPayload);
    assertThat(actual).isSameAs(addedRun);
}