Пример #1
0
 public function testYear()
 {
     $m = new Month(new DateTime('2014-04-16'));
     $this->assertInstanceOf('Solution10\\Calendar\\Year', $m->year());
     $this->assertEquals(2014, $m->year()->yearFull());
 }