public function testLoad() { $appNode = new AppNode('someappname', '/opt/appserver/anotherwebapppath'); $this->appService->persist($appNode); $this->assertSame($appNode, $this->appService->load($appNode->getPrimaryKey())); }