SensioLabs\DeprecationDetector\Tests\DeprecationDetectorTest::testClassIsInitializable PHP Method

testClassIsInitializable() public method

    public function testClassIsInitializable()
    {
        $preDefinedRuleSet = $this->prophesize('SensioLabs\\DeprecationDetector\\RuleSet\\RuleSet');
        $ruleSetLoader = $this->prophesize('SensioLabs\\DeprecationDetector\\RuleSet\\Loader\\LoaderInterface');
        $ancestorResolver = $this->prophesize('SensioLabs\\DeprecationDetector\\TypeGuessing\\AncestorResolver');
        $deprecationFinder = $this->prophesize('SensioLabs\\DeprecationDetector\\Finder\\ParsedPhpFileFinder');
        $violationDetector = $this->prophesize('SensioLabs\\DeprecationDetector\\Violation\\ViolationDetector');
        $renderer = $this->prophesize('SensioLabs\\DeprecationDetector\\Violation\\Renderer\\RendererInterface');
        $defaultOutput = $this->prophesize('SensioLabs\\DeprecationDetector\\Console\\Output\\DefaultProgressOutput');
        $detector = new DeprecationDetector($preDefinedRuleSet->reveal(), $ruleSetLoader->reveal(), $ancestorResolver->reveal(), $deprecationFinder->reveal(), $violationDetector->reveal(), $renderer->reveal(), $defaultOutput->reveal());
        $this->assertInstanceOf('SensioLabs\\DeprecationDetector\\DeprecationDetector', $detector);
    }