@Test
    void verifyValidateSignatureBadInput() {
        assertFalse(wsFederationHelper.validateSignature(null));
        assertFalse(wsFederationHelper.validateSignature(Pair.of(null, null)));
        val config = wsFederationConfigurations.toList().getFirst();
        val assertion = mock(Assertion.class);
        assertFalse(wsFederationHelper.validateSignature(Pair.of(assertion, config)));
        when(assertion.getSignature()).thenReturn(mock(Signature.class));
        assertFalse(wsFederationHelper.validateSignature(Pair.of(assertion, config)));
    }
Test cases for {@link WsFederationHelper}.

@author John Gasper
@since 4.2.0
support/cas-server-support-wsfederation/src/test/java/org/apereo/cas/support/wsfederation/WsFederationHelperTests.java