/** * */ function test_fallback_exception() { $resolver = new Resolver(); $this->setExpectedException(\RuntimeException::class, 'Unresolvable plugin: foo'); $resolver->fallback('foo'); }