AppserverIo\Appserver\Core\Api\AppServiceTest::testGetExtractorWithoutDefaultConfiguration PHP 메소드

testGetExtractorWithoutDefaultConfiguration() 공개 메소드

Tests if are able to run through the method
    public function testGetExtractorWithoutDefaultConfiguration()
    {
        // Lets create a mocked configuration which does not know about extractors
        $mockConfig = $this->getMock('\\AppserverIo\\Appserver\\Core\\Api\\Node\\AppserverNode');
        $this->appService->setSystemConfiguration($mockConfig);
        $this->assertNull($this->appService->getExtractor());
    }