@Test
    void verifyOperation() {
        val d = new PasswordExpiringWarningMessageDescriptor("DefaultMessage", 30);
        assertEquals(30, d.getDaysToExpiration());
        assertEquals("DefaultMessage", d.getDefaultMessage());
    }
This is {@link PasswordExpiringWarningMessageDescriptorTests}.

@author Misagh Moayyed
@since 6.1.0
core/cas-server-core-authentication-api/src/test/java/org/apereo/cas/authentication/support/password/PasswordExpiringWarningMessageDescriptorTests.java