OrnoTest\ContainerTest::testCallExecutesStaticMethod PHP Метод

testCallExecutesStaticMethod() публичный Метод

    public function testCallExecutesStaticMethod()
    {
        $method = '\\OrnoTest\\Assets\\BazStatic::baz';
        $expected = 'qux';
        $c = new Container();
        $returned = $c->call($method, ['foo' => $expected]);
        $this->assertSame($returned, $expected);
    }
ContainerTest