@Test(expected = NullPointerException.class)
public void testDropKeyWhenConnectionIsNull() throws Exception {

    Connection conn = null;
    String tableName = "tableName";
    String key = "key";
    boolean isForeignKey = false;
    dao.dropKey(conn, tableName, key, isForeignKey);
}