@Test
public void registerScheduledJobThrowsExceptionWhenIdentifierIsNull() {

    // given / when / then
    assertThatThrownBy(() -> scheduledJobExecutor.registerScheduledJob(jobMock))
            .isInstanceOf(IllegalArgumentException.class)
            .hasMessage("A job's identifier can't be null!");
}