public function testGetDay() { $date = new Date(new Year(2013), Month::DECEMBER(), new MonthDay(3)); $day = new MonthDay(3); $this->assertTrue($day->sameValueAs($date->getDay())); }