Kraken\_Unit\Runtime\RuntimeModelTest::testApiGetLoop_ReturnsLoop_WhenLoopDoesExist PHP Метод

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

    public function testApiGetLoop_ReturnsLoop_WhenLoopDoesExist()
    {
        $loop = $this->getMock(Loop::class, [], [], '', false);
        $runtime = $this->createModel();
        $this->setProtectedProperty($runtime, 'loop', $loop);
        $this->assertSame($loop, $runtime->getLoop());
    }
RuntimeModelTest