@Test
    void verifyBadPubKey() {
        val client = mock(YubicoClient.class);
        val v = new DefaultYubiKeyAccountValidator(client);
        assertFalse(v.isValid("casuser", "abcdeyf"));
    }
This is {@link DefaultYubiKeyAccountValidatorTests}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-yubikey-core/src/test/java/org/apereo/cas/adaptors/yubikey/DefaultYubiKeyAccountValidatorTests.java