function it_should_modify_query(QueryModifier $specification, EntityManager $entityManager, QueryBuilder $qb, AbstractQuery $query)
 {
     $this->prepareEntityManagerStub($entityManager, $qb);
     $this->prepareQueryBuilderStub($qb, $query);
     $query->execute()->willReturn($this->result);
     $specification->modify($qb, $this->alias)->shouldBeCalled();
     $this->match($specification);
 }