@Test
public void testDropPrimaryKey() throws Exception {

    when(connectionMock.prepareStatement(contains("DROP PRIMARY KEY"))).thenReturn(preparedStatementMock);
    Connection conn = connectionMock;
    String tableName = "tableName";
    dao.dropPrimaryKey(conn, tableName);
    verify(connectionMock, times(1)).prepareStatement(anyString());
    verify(preparedStatementMock, times(1)).executeUpdate();
    verify(preparedStatementMock, times(1)).close();
    verify(loggerMock, times(1)).debug(contains("successfully"));
}