daoService.getOrCreate(category, 3, StatisticRefEnum.CREATED_ISSUE_COUNT, 150, 500);
daoService.getOrCreate(category, 4, StatisticRefEnum.CREATED_ISSUE_COUNT, 500, 2000);
daoService.getOrCreate(category, 5, StatisticRefEnum.CREATED_ISSUE_COUNT, 2000, 5000);
int value = 150;
Level currentLevel = daoService.findMatchingLevel(category, value);
Level nextLevel = daoService.findNextLevel(category, value);
assertNotNull(nextLevel);
assertTrue(nextLevel.getMaxThreshold() > value);
assertTrue(currentLevel.getLevelNumber() + 1 == nextLevel.getLevelNumber());
}