AppserverIo\Appserver\Core\Api\AppServiceTest::testLoad PHP Méthode

testLoad() public méthode

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