@Test
public void testTableNameNotSpecified() {

    DynamoDBStatusCheckerFactory dynamoDBStatusCheckerFactory = new DynamoDBStatusCheckerFactory();
    try {
        dynamoDBStatusCheckerFactory.create();
        fail();
    } catch (ResourceException ex) {
        assertEquals("ResourceException (503): DynamoDB table name not specified", ex.getMessage());
        assertEquals(503, ex.getCode());
    }
}