Kraken\_Unit\Util\Factory\_Partial\FactoryPartial::testApiDefine_ReturnsCaller PHP Метод

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

    public function testApiDefine_ReturnsCaller()
    {
        $test = $this->getTest();
        $factory = $this->createFactory();
        $key = 'KEY';
        $callable = function () {
        };
        $test->assertSame($factory, $factory->define($key, $callable));
    }