@Test
    void verifySignAssertionFalseWithDeserialization() {
        val json = """
            {
              "@class" : "org.apereo.cas.support.saml.services.SamlRegisteredService",
              "serviceId" : "the-entity",
              "name" : "SAMLService",
              "id" : 10000003,
              "evaluationOrder" : 10,
              "signAssertions" : false,
              "metadataLocation" : "https://url/to/metadata.xml"
            }""";

        val appCtx = new StaticApplicationContext();
        appCtx.refresh();
        val serializer = new RegisteredServiceJsonSerializer(appCtx);
        val service = (SamlRegisteredService) serializer.from(json);
        assertNotNull(service);
        assertTrue(service.getSignAssertions().isFalse());
    }
The {@link SamlRegisteredServiceTests} handles test cases for {@link SamlRegisteredService}.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-saml-idp/src/test/java/org/apereo/cas/support/saml/services/SamlRegisteredServiceTests.java