@Test
public void testDropKeyIfExistWhenOneKeysIsSupplied() throws Exception {

    Connection conn = connectionMock;
    String tableName = "tableName";
    String key = "key";
    List<String> keys = Arrays.asList(new String[] {key});
    boolean isForeignKey = false;
    DbUpgradeUtils.dropKeysIfExist(conn, tableName, keys, isForeignKey);
    verify(daoMock, times(1)).dropKey(conn, tableName, key, isForeignKey);
}