Code Duplication    Length = 12-12 lines in 2 locations

tests/Client/TrelloApiClientTest.php 2 locations

@@ 24-35 (lines=12) @@
21
            ], $response);
22
    }
23
24
    public function testFindCreationCards()
25
    {
26
        $trelloApiClient = new TrelloApiClientMock('apiKey', 'token');
27
        $response = $trelloApiClient->findCreationCard('cardId');
28
29
        $this->assertEquals(
30
            [
31
                [
32
                    'foo' => 'bar'
33
                ]
34
            ], $response);
35
    }
36
37
    public function testFindAllCardHistory()
38
    {
@@ 37-48 (lines=12) @@
34
            ], $response);
35
    }
36
37
    public function testFindAllCardHistory()
38
    {
39
        $trelloApiClient = new TrelloApiClientMock('apiKey', 'token');
40
        $response = $trelloApiClient->findAllCardHistory('cardId');
41
42
        $this->assertEquals(
43
            [
44
                [
45
                    'foo' => 'bar'
46
                ]
47
            ], $response);
48
    }
49
}
50
51
class TrelloApiClientMock extends TrelloApiClient