示例#1
0
 /**
  * {@inheritdoc}
  */
 public function getClosedAt()
 {
     return $this->raw->getResolutionDate() ? new \DateTime($this->raw->getResolutionDate()) : null;
 }
示例#2
0
 public function it_returns_the_closed_date_as_DateTime_if_set(Issue $issue)
 {
     $issue->getResolutionDate()->shouldBeCalled()->willReturn(null);
     $this->getClosedAt()->shouldReturn(null);
 }