@Test
    void verifyGetService() {
        val service = RegisteredServiceTestUtils.getService();
        val list = new ArrayList<Authentication>();
        list.add(CoreAuthenticationTestUtils.getAuthentication());
        val assertion = new ImmutableAssertion(CoreAuthenticationTestUtils.getAuthentication(),
            CoreAuthenticationTestUtils.getAuthentication(), list, false, false,
            service, RegisteredServiceTestUtils.getRegisteredService(), Map.of());
        assertEquals(service, assertion.getService());
    }
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