AppserverIo\Appserver\Core\Api\AppServiceTest::testGetExtractor PHP Method

testGetExtractor() public method

Tests if are able to always get an extractor, either default or injected one
public testGetExtractor ( ) : null
return null
    public function testGetExtractor()
    {
        $this->assertInstanceOf('\\AppserverIo\\Appserver\\Core\\Interfaces\\ExtractorInterface', $this->appService->getExtractor());
        $this->appService->injectExtractor($this->getMock('\\AppserverIo\\Appserver\\Core\\Interfaces\\ExtractorInterface'));
        $this->assertInstanceOf('\\PHPUnit_Framework_MockObject_MockObject', $this->appService->getExtractor());
    }