コード例 #1
0
ファイル: ContainerCallTest.php プロジェクト: weew/container
 public function test_call_with_invalid_callable()
 {
     $container = new Container();
     $this->setExpectedException(InvalidCallableFormatException::class);
     $this->assertEquals(1, $container->call(['foo'], ['array' => [1]]));
 }