示例#1
0
 /**
  * {@inheritdoc}
  */
 public function getAssignee()
 {
     if ($assignee = $this->raw->getAssignee()) {
         return \igorw\get_in($assignee, ['displayName']);
     }
 }
示例#2
0
 public function it_doenst_returns_the_assignee_url_if_no_assignee(Issue $issue)
 {
     $issue->getAssignee()->shouldBeCalled()->willReturn();
     $issue->getSelf()->shouldNotBeCalled();
     $this->getAssigneeUrl()->shouldReturn(null);
 }