@Test
void maliciousCounterValueDetected_test() {

    AuthenticationObject authenticationObject = mock(AuthenticationObject.class);
    assertThrows(MaliciousCounterValueException.class,
            () -> target.maliciousCounterValueDetected(authenticationObject)
    );
}