Neos\Flow\Tests\Unit\Http\Component\ComponentChainFactoryTest::createThrowsExceptionIfComponentClassNameDoesNotImplementComponentInterface PHP Method

createThrowsExceptionIfComponentClassNameDoesNotImplementComponentInterface() public method

    public function createThrowsExceptionIfComponentClassNameDoesNotImplementComponentInterface()
    {
        $chainConfiguration = ['foo' => ['component' => 'Foo\\Component\\ClassName']];
        $this->mockObjectManager->expects($this->at(0))->method('get')->with('Foo\\Component\\ClassName')->will($this->returnValue(new \stdClass()));
        $this->componentChainFactory->create($chainConfiguration);
    }