eZ\Publish\Core\MVC\Symfony\Matcher\Tests\Block\TypeTest::generateBlockForType PHP Method

generateBlockForType() private method

private generateBlockForType ( $type ) : Block
$type
return eZ\Publish\Core\FieldType\Page\Parts\Block
    private function generateBlockForType($type)
    {
        return new Block(array('type' => $type));
    }