public function testFindStatementsByCriteria()
 {
     $verb = VerbFixtures::getTypicalVerb();
     $this->mappedStatementRepository->expects($this->once())->method('findStatements')->with($this->equalTo(array('verb' => $verb->getId()->getValue())))->will($this->returnValue(array()));
     $filter = new StatementsFilter();
     $filter->byVerb($verb);
     $this->statementRepository->findStatementsBy($filter);
 }
 public static function getAllPropertiesSubStatement()
 {
     return new SubStatement(ActorFixtures::getTypicalAgent(), VerbFixtures::getTypicalVerb(), ActivityFixtures::getTypicalActivity(), ResultFixtures::getTypicalResult(), ContextFixtures::getTypicalContext());
 }
 public static function getAllPropertiesStatement($id = self::DEFAULT_STATEMENT_ID)
 {
     if (null === $id) {
         $id = UuidFixtures::getUniqueUuid();
     }
     return new Statement(StatementId::fromString($id), ActorFixtures::getTypicalAgent(), VerbFixtures::getTypicalVerb(), ActivityFixtures::getTypicalActivity(), ResultFixtures::getAllPropertiesResult(), ActorFixtures::getAccountAgent(), new \DateTime('2013-05-18T05:32:34+00:00'), new \DateTime('2014-07-23T12:34:02-05:00'), ContextFixtures::getAllPropertiesContext(), array(AttachmentFixtures::getTextAttachment()));
 }