AppserverIo\Appserver\Core\Api\AppServiceTest::testLoad PHP Method

testLoad() public method

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