@Test
public void aggregateAuthenticationFailuresWithEmptyList() {

    assertThatExceptionOfType(IllegalArgumentException.class)
            .isThrownBy(() -> underTest.aggregateAuthenticationFailures(Collections.emptyList()));
}