@Test
public void shouldDeleteLevelsForParameter() {

    // given
    database().withParameter("parameter").withLevels("parameter", 2).build();
    LevelDAO levelDAO = get(LevelDAO.class);
    QueryRunner runner = queryRunner();
    // when
    levelDAO.deleteParameterLevels(runner, "parameter");
    runner.close();
    // then
    assertDatabase().hasNoLevelsForParameter("parameter").close();
}