Code Duplication    Length = 8-8 lines in 2 locations

DataFixtures/StatementFixtures.php 2 locations

@@ 58-65 (lines=8) @@
55
     *
56
     * @return Statement
57
     */
58
    public static function getStatementWithGroupActor($id = self::DEFAULT_STATEMENT_ID)
59
    {
60
        $group = ActorFixtures::getGroup();
61
        $verb = VerbFixtures::getVerb();
62
        $activity = ActivityFixtures::getActivity();
63
64
        return new Statement($id, $group, $verb, $activity);
65
    }
66
67
    /**
68
     * Loads a statement with a group that has no members as an actor.
@@ 74-81 (lines=8) @@
71
     *
72
     * @return Statement
73
     */
74
    public static function getStatementWithGroupActorWithoutMembers($id = self::DEFAULT_STATEMENT_ID)
75
    {
76
        $group = ActorFixtures::getGroupWithoutMembers();
77
        $verb = VerbFixtures::getVerb();
78
        $activity = ActivityFixtures::getActivity();
79
80
        return new Statement($id, $group, $verb, $activity);
81
    }
82
83
    /**
84
     * Loads a statement including a reference to another statement.