/** * {@inheritdoc} */ public function getTags() { return $this->raw->getLabels(); }
public function it_returns_its_tags(Issue $issue) { $issue->getLabels()->shouldBeCalled()->willReturn(['foo', 'bar']); $this->getTags()->shouldReturn(['foo', 'bar']); }