public function methodIs($matcher) { $this->appendMatcher($matcher, $this->extractorFactory->createMethodExtractor()); return $this; }