Esempio n. 1
0
 public function test_call_static_method_with_missing_unresolvable_dependencies()
 {
     $container = new Container();
     $instance = new MethodClass();
     $this->setExpectedException(UnresolveableArgumentException::class);
     $this->assertEquals(1, $container->callStaticMethod($instance, 'complexStaticMethod'));
 }