@Test
void verifyRpIdHash_test_with_relyingParty_null() {

    String rpIdA = "example.com";
    String rpIdB = "example.com";
    byte[] rpIdBytesA = rpIdA.getBytes(StandardCharsets.UTF_8);
    byte[] rpIdHashA = MessageDigestUtil.createSHA256().digest(rpIdBytesA);
    //When
    assertThrows(IllegalArgumentException.class,
            () -> target.validate(rpIdHashA, null)
    );
}