Dietcube\ControllerTest::testGetContainerValue PHP Метод

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

    public function testGetContainerValue()
    {
        $hoge = new \StdClass();
        $container = self::getContainerAsFixture(['hoge' => $hoge]);
        $controller = new Controller($container);
        $method = $this->getInvokableMethod('get');
        $this->assertSame($hoge, $method->invokeArgs($controller, ['hoge']));
    }