/** * If we can determine if a passed UUID is an invalid one * * @return null */ public function testUndeployInvalidUuid() { $mockExtractor = $this->getMock('\\AppserverIo\\Appserver\\Core\\Interfaces\\ExtractorInterface'); $mockExtractor->expects($this->never())->method('unflagArchive'); $this->appService->injectExtractor($mockExtractor); $appNode = new AppNode(__METHOD__, '/opt/appserver/targetwebapp'); $this->appService->undeploy($appNode->getUuid()); }