@Test
public void testDropTableColumnsIfExistWhenOneKeysIsSuppliedAndColumnDoesNotExists() throws Exception {

    Connection conn = connectionMock;
    String tableName = "tableName";
    String column = "column";
    when(daoMock.columnExists(conn, tableName, column)).thenReturn(false);
    List<String> columns = Arrays.asList(new String[] {column});
    DbUpgradeUtils.dropTableColumnsIfExist(conn, tableName, columns);
    verify(daoMock, times(1)).columnExists(conn, tableName, column);
    verify(daoMock, times(0)).dropColumn(conn, tableName, column);
}