@Test
        void verifyBuildAttributeMap() {
            val ticket = new MockTicketGrantingTicket("casuser",
                CoreAuthenticationTestUtils.getCredentialsWithSameUsernameAndPassword(),
                CollectionUtils.wrap("name", "CAS"));
            val map = dynamoDbTicketRegistryFacilitator.buildTableAttributeValuesMapFromTicket(
                DynamoDbTicketRegistryFacilitator.TicketPayload.builder()
                    .originalTicket(ticket)
                    .encodedTicket(ticket)
                    .principal("casuser")
                    .service(RegisteredServiceTestUtils.CONST_TEST_URL)
                    .build());
            assertFalse(map.isEmpty());
            Arrays.stream(DynamoDbTicketRegistryFacilitator.ColumnNames.values())
                .forEach(c -> assertTrue(map.containsKey(c.getColumnName())));
        }
This is {@link DynamoDbTicketRegistryFacilitatorTests}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-dynamodb-ticket-registry/src/test/java/org/apereo/cas/ticket/registry/DynamoDbTicketRegistryFacilitatorTests.java