@Test
    void verifyWaitUntilTable() {
        val client = mock(DynamoDbClient.class);
        val description = TableDescription.builder().tableStatus(TableStatus.CREATING).build();
        val table = DescribeTableResponse.builder().table(description).build();
        when(client.describeTable(any(DescribeTableRequest.class))).thenReturn(table);
        assertThrows(DynamoDbTableUtils.TableNeverTransitionedToStateException.class,
            () -> DynamoDbTableUtils.waitUntilActive(client, "tableName", 1000, 1000));
    }
This is {@link DynamoDbTableUtilsTests}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-dynamodb-core/src/test/java/org/apereo/cas/dynamodb/DynamoDbTableUtilsTests.java