/**
  * setUp
  */
 public function setUp()
 {
     parent::setUp();
     $this->service = new ServerProcessService();
     $this->request = Phake::mock('\\Symfony\\Component\\HttpFoundation\\Request');
     $this->queryBuilder = Phake::mock('Doctrine\\ORM\\QueryBuilder');
     $this->query = Phake::mock('Doctrine\\ORM\\AbstractQuery');
     $this->requestParameters = Phake::mock('Brown298\\DataTablesBundle\\Model\\RequestParameterBag');
     $this->logger = Phake::mock('Psr\\Log\\LoggerInterface');
     $this->processor = Phake::mock('Brown298\\DataTablesBundle\\Service\\Processor\\ProcessorInterface');
     $this->repository = Phake::mock('\\Doctrine\\ORM\\EntityRepository');
     $this->em = Phake::mock('Doctrine\\ORM\\EntityManager');
     $this->arrayCollection = Phake::mock('Doctrine\\Common\\Collections\\ArrayCollection');
     Phake::when($this->repository)->createQueryBuilder(Phake::anyParameters())->thenReturn($this->queryBuilder);
     $this->service->setRequest($this->request);
 }