@Test(expected = IllegalStateException.class)
public void testWaitForTableToBecomeActiveTableDoesNotExist() {

    EasyMock.expect(dynamoDB.describeTable(tableName)).andThrow(new ResourceNotFoundException(null));
    PowerMock.replayAll();
    DynamoDBManager.waitForTableToBecomeActive(dynamoDB, tableName);
}