protected function getBlockMock(array $properties = array()) { $view = new BlockView(); $view->setBlock(new Block($properties)); return $view; }