src/StatementFixtures.php
public static function getStatementWithResult($id = self::DEFAULT_STATEMENT_ID)
    {
        if (null === $id) {
            $id = UuidFixtures::getUniqueUuid();
        }

        return new Statement(StatementId::fromString($id), ActorFixtures::getTypicalAgent(), VerbFixtures::getTypicalVerb(), ActivityFixtures::getTypicalActivity(), ResultFixtures::getScoreAndDurationResult());
    }
public static function getStatementWithResult($id = self::DEFAULT_STATEMENT_ID)
    {
        if (null === $id) {
            $id = UuidFixtures::getUniqueUuid();
        }

        return new Statement(StatementId::fromString($id), ActorFixtures::getTypicalAgent(), VerbFixtures::getTypicalVerb(), ActivityFixtures::getTypicalActivity(), ResultFixtures::getScoreAndDurationResult());
    }
Loads a statement including a result.

@param string $id The id of the new Statement

@return Statement