/**
* Tests if we can load a webapp by path
*
* @return null
*/
public function testLoadByWebappPath()
{
$appNode = new AppNode('someappname', '/opt/appserver/targetwebapp');
$this->appService->persist($appNode);
$this->assertSame($appNode, $this->appService->loadByWebappPath($appNode->getWebappPath()));
$this->assertNull($this->appService->loadByWebappPath('/absolutely/non/existing/webapp/path'));
}