@Test
    void verifyOperation() {
        val ticket = new TransientSessionTicketImpl("TST-1", NeverExpiresExpirationPolicy.INSTANCE,
            CoreAuthenticationTestUtils.getService(), Map.of("key", "value"));
        ticket.putProperty("key2", "value2");
        ticket.putAllProperties(Map.of("key3", "value3"));
        assertTrue(ticket.containsProperty("key2"));
        assertNull(ticket.getProperty("invalid", String.class));
        assertNotNull(ticket.getProperty("key3", String.class));
        assertNotNull(ticket.getProperty("something", String.class, "default"));
    }
This is {@link TransientSessionTicketImplTests}.

@author Misagh Moayyed
@since 6.2.0
core/cas-server-core-tickets/src/test/java/org/apereo/cas/ticket/TransientSessionTicketImplTests.java