@Test public void testBankHolidaysArbeitstagePositive() { Assert.assertFalse(workdayRepo.isArbeitsTag(this.fromString("2014-01-01"))); Assert.assertFalse(workdayRepo.isArbeitsTag(this.fromString("2014-06-01"))); Assert.assertFalse(workdayRepo.isArbeitsTag(this.fromString("2014-10-03"))); Assert.assertFalse(workdayRepo.isArbeitsTag(this.fromString("2014-12-25"))); Assert.assertFalse(workdayRepo.isArbeitsTag(this.fromString("2014-12-26"))); }
@Test public void testIsWerktagNegative() { Assert.assertFalse(workdayRepo.isWerktag(this.fromString("2014-04-06"))); }
@Test public void testIsArbeitstagNegative() throws IOException, ParseException { boolean abreitsTag = workdayRepo.isArbeitsTag(this.fromString("2014-03-30")); Assert.assertFalse(workdayRepo.isArbeitsTag(this.fromString("2014-04-05"))); Assert.assertFalse(abreitsTag); }
@Test public void testIsWerktagPositive() { Assert.assertTrue(workdayRepo.isWerktag(this.fromString("2014-04-05"))); Assert.assertTrue(workdayRepo.isWerktag(this.fromString("2014-04-07"))); }
@Test public void testIsArbeitstagPositive() throws IOException, ParseException { boolean abreitsTag = workdayRepo.isArbeitsTag(this.fromString("2014-03-31")); Assert.assertTrue(abreitsTag); }