}
@Test
public void backup_with_rule_having_default_linear_and_overridden_offset() throws Exception {
when(dao.selectEnabledCharacteristics(session)).thenReturn(newArrayList(
new CharacteristicDto().setId(1).setKey("PORTABILITY").setName("Portability updated").setOrder(2),
new CharacteristicDto().setId(2).setKey("COMPILER").setName("Compiler updated").setParentId(1)
));
when(ruleDao.selectEnabledAndNonManual(session)).thenReturn(newArrayList(
// Rule with default debt values : default value is linear (only coefficient is set) and overridden value is constant per issue (only offset is set)
// -> Ony offset should be set