/**
  * Loads a statement with a group that has no members as an actor.
  *
  * @param string $id The id of the new Statement
  *
  * @return Statement
  */
 public static function getStatementWithGroupActorWithoutMembers($id = self::DEFAULT_STATEMENT_ID)
 {
     $group = ActorFixtures::getGroupWithoutMembers();
     $verb = VerbFixtures::getVerb();
     $activity = ActivityFixtures::getActivity();
     return new Statement($id, $group, $verb, $activity);
 }
 public function testFindStatementsByCriteria()
 {
     $verb = VerbFixtures::getVerb();
     $this->mappedStatementRepository->expects($this->once())->method('findMappedStatements')->with($this->equalTo(array('verb' => $verb->getId())))->will($this->returnValue(array()));
     $filter = new StatementsFilter();
     $filter->byVerb($verb);
     $this->statementRepository->findStatementsBy($filter);
 }