public function testGetDateWithOffset()
 {
     // fixed day
     $this->assertSame('2014-10-15', SepaUtilities::getDateWithOffset(0, '15.10.2014'));
     // fixed saturday
     $this->assertSame('2014-10-20', SepaUtilities::getDateWithOffset(0, '18.10.2014'));
     // fixed sunday
     $this->assertSame('2014-10-20', SepaUtilities::getDateWithOffset(0, '19.10.2014'));
     // offset to small to skip a sunday
     $this->assertSame('2014-10-17', SepaUtilities::getDateWithOffset(2, '15.10.2014'));
     // offset reaches weekend
     $this->assertSame('2014-10-20', SepaUtilities::getDateWithOffset(3, '15.10.2014'));
     // offset to skip one weekend
     $this->assertSame('2014-10-21', SepaUtilities::getDateWithOffset(4, '15.10.2014'));
     // offset big enough to skip a sunday + a day
     $this->assertSame('2014-10-22', SepaUtilities::getDateWithOffset(5, '15.10.2014'));
     // offset big enough to skip 4 weekends plus another sunday
     $this->assertSame('2014-11-24', SepaUtilities::getDateWithOffset(28, '15.10.2014'));
 }