AppserverIo\Appserver\Core\Api\AppServiceTest::testLoad PHP Метод

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

Test if the load() method returns the correct app node.
public testLoad ( ) : null
Результат null
    public function testLoad()
    {
        $appNode = new AppNode('someappname', '/opt/appserver/anotherwebapppath');
        $this->appService->persist($appNode);
        $this->assertSame($appNode, $this->appService->load($appNode->getPrimaryKey()));
    }