/**
* If we can run the un-deploy functionality without receiving an error
*
* @return null
*/
public function testUndeploy()
{
$mockExtractor = $this->getMock('\\AppserverIo\\Appserver\\Core\\Interfaces\\ExtractorInterface');
$mockExtractor->expects($this->once())->method('unflagArchive');
$this->appService->injectExtractor($mockExtractor);
$appNode = new AppNode(__METHOD__, '/opt/appserver/targetwebapp');
$this->appService->persist($appNode);
$this->appService->undeploy($appNode->getUuid());
}