@Test
void verifyRpIdHash_test_with_relyingParty_rpId_null() {

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