public function it_sets_and_gets_a_matcher(NonMatcher $matcher) { $this->setMatcher($matcher)->shouldReturn($this); $this->getMatcher()->shouldReturn($matcher); }