public function testSub() { $dt = new DateTimeObject('14.02.2013'); $dt->sub("5 days"); $this->assertSame('09.02.2013', $dt->format('d.m.Y')); }