@Test
public void testIsNumOfDaysReduced() {

    assertFalse(zms.dbService.isNumOfDaysReduced(null, null));
    assertFalse(zms.dbService.isNumOfDaysReduced(10, null));
    assertFalse(zms.dbService.isNumOfDaysReduced(0, null));
    assertFalse(zms.dbService.isNumOfDaysReduced(-1, null));
    assertFalse(zms.dbService.isNumOfDaysReduced(null, 0));
    assertFalse(zms.dbService.isNumOfDaysReduced(10, 0));
    assertFalse(zms.dbService.isNumOfDaysReduced(0, 0));
    assertFalse(zms.dbService.isNumOfDaysReduced(-1, 0));
    assertFalse(zms.dbService.isNumOfDaysReduced(null, -1));
    assertFalse(zms.dbService.isNumOfDaysReduced(10, -1));
    assertFalse(zms.dbService.isNumOfDaysReduced(0, -1));
    assertFalse(zms.dbService.isNumOfDaysReduced(-1, -1));
    assertTrue(zms.dbService.isNumOfDaysReduced(null, 10));
    assertTrue(zms.dbService.isNumOfDaysReduced(0, 10));
    assertTrue(zms.dbService.isNumOfDaysReduced(-1, 10));
    assertFalse(zms.dbService.isNumOfDaysReduced(5, 10));
    assertTrue(zms.dbService.isNumOfDaysReduced(10, 5));
}