/** * @return void */ public function testCallShouldThrowExceptionIfNoLocatorCanBeMatchedToCalledMethod() { $this->expectException('\\LogicException'); $bundleProxy = new BundleProxy(); $bundleProxy->addLocator(new LocatorWithMatcher('Foo')); $bundleProxy->notMatchingTest(); }