@Test
    void verifyOperation() {
        val payload = Map.<String, Object>of(
            "cas.server.name", "https://sso.test.org",
            "spring.mail.host", "localhost",
            "spring.mail.port", "25000"
        );
        val bindingContext = CasConfigurationProperties.bindFrom(payload);
        assertEquals("https://sso.test.org", bindingContext.value().getServer().getName());

        val mailProperties = CasConfigurationProperties.bindFrom(payload, MailProperties.class).value();
        assertEquals("localhost", mailProperties.getHost());
        assertEquals(25000, mailProperties.getPort());
    }
This is {@link CasConfigurationPropertiesBindingTests}.

@author Misagh Moayyed
@since 7.3.0
api/cas-server-core-api-configuration-model/src/test/java/org/apereo/cas/configuration/support/CasConfigurationPropertiesBindingTests.java