protected function setUp()
 {
     parent::setUp();
     $this->init();
     $configurationHandler = $this->initConfigurationHandler();
     BlockFactory::boot($configurationHandler);
 }
 protected function setUp()
 {
     parent::setUp();
     $this->serializer = $this->getMock('JMS\\Serializer\\SerializerInterface');
     $this->optionsResolver = $this->getMock('Symfony\\Component\\OptionsResolver\\OptionsResolver');
     $this->blockFactory = $this->getMock('\\RedKiteCms\\Content\\Block\\BlockFactoryInterface');
 }