Code Duplication    Length = 7-7 lines in 2 locations

tests/Receiver/GistsTest.php 1 location

@@ 27-33 (lines=7) @@
24
     * @param array  $data
25
     * @param string $dataName
26
     */
27
    public function __construct($name = null, array $data = [], $dataName = '')
28
    {
29
        parent::__construct($name, $data, $dataName);
30
31
        // Gists
32
        $this->gists = $this->client->getReceiver(Client::GISTS);
33
    }
34
35
    /**
36
     * Test list gists of current users

tests/Receiver/MiscellaneousTest.php 1 location

@@ 26-32 (lines=7) @@
23
     * @param array  $data
24
     * @param string $dataName
25
     */
26
    public function __construct($name = null, array $data = [], $dataName = '')
27
    {
28
        parent::__construct($name, $data, $dataName);
29
30
        // Miscellaneous
31
        $this->miscellaneous = $this->client->getReceiver(Client::MISCELLANEOUS);
32
    }
33
34
    /**
35
     * Test list available Emojis