AppserverIo\Appserver\Core\Api\AppServiceTest::testSoak PHP Метод

testSoak() публичный Метод

Tests if we can soak an archive without receiving an exception
public testSoak ( ) : null
Результат null
    public function testSoak()
    {
        $mockContainer = $this->getMock('\\AppserverIo\\Appserver\\Core\\Api\\Node\\ContainerNodeInterface');
        $mockExtractor = $this->getMock('\\AppserverIo\\Appserver\\Core\\Interfaces\\ExtractorInterface');
        $mockExtractor->expects($this->once())->method('soakArchive');
        $this->appService->injectExtractor($mockExtractor);
        $this->appService->soak($mockContainer, $this->getMockBuilder('\\SplFileInfo')->setConstructorArgs(array(__FILE__))->getMock());
    }