Code Duplication    Length = 9-9 lines in 2 locations

tests/Operand/FieldSpec.php 2 locations

@@ 84-92 (lines=9) @@
81
        $this->execute($player, null)->shouldReturn($player['pseudo']);
82
    }
83
84
    public function it_is_executable_object_in_context(): void
85
    {
86
        $this->beConstructedWith('name', 'inGame');
87
88
        $game = new Game('Tetris');
89
        $player = new Player('Moe', 'M', 1230, $game);
90
91
        $this->execute($player, null)->shouldReturn($game->name);
92
    }
93
94
    public function it_is_executable_array_in_context(): void
95
    {
@@ 104-112 (lines=9) @@
101
        $this->execute($player, null)->shouldReturn($game['name']);
102
    }
103
104
    public function it_is_executable_object_in_global_context(): void
105
    {
106
        $this->beConstructedWith('name');
107
108
        $game = new Game('Tetris');
109
        $player = new Player('Moe', 'M', 1230, $game);
110
111
        $this->execute($player, 'inGame')->shouldReturn($game->name);
112
    }
113
114
    public function it_is_executable_array_in_global_context(): void
115
    {