/** * @return void */ public function testCallShouldReturnLocatedClassIfMatcherMatchesToAGivenLocator() { $bundleProxy = new BundleProxy(); $locator = new LocatorWithMatcher('foo'); $bundleProxy->addLocator($locator); $this->assertSame($locator, $bundleProxy->locatorTest()); }