@Test
public void isWebAuthnAuthenticated_test(){

    WebAuthnSecurityExpression target = new WebAuthnSecurityExpression();
    assertThat(target.isWebAuthnAuthenticated(null)).isFalse();
    assertThat(target.isWebAuthnAuthenticated(new WebAuthnAuthenticationToken(null, null, null))).isTrue();
    assertThat(target.isWebAuthnAuthenticated(new AnonymousAuthenticationToken("dummy", "dummy", Collections.singletonList(new SimpleGrantedAuthority("dummy"))))).isFalse();
}