@Test
    void verifyEqualsWithInvalidObject() {
        val list = new ArrayList<Authentication>();
        list.add(CoreAuthenticationTestUtils.getAuthentication());
        val assertion = new ImmutableAssertion(CoreAuthenticationTestUtils.getAuthentication(),
            CoreAuthenticationTestUtils.getAuthentication(), list, true, false,
            RegisteredServiceTestUtils.getService(), RegisteredServiceTestUtils.getRegisteredService(), Map.of());
        assertNotEquals("test", assertion);
    }
Unit test for {@link ImmutableAssertion} class.

@author Scott Battaglia
@since 3.0.0
core/cas-server-core-validation/src/test/java/org/apereo/cas/validation/ImmutableAssertionTests.java