@Test
    void verifyWaitUntilTableNotFound() {
        val client = mock(DynamoDbClient.class);
        when(client.describeTable(any(DescribeTableRequest.class)))
            .thenThrow(SdkException.create("fail", new IllegalArgumentException()));
        assertThrows(SdkException.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