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()));
    }