Code Duplication    Length = 7-7 lines in 2 locations

Tests/Message/DeleteClassifierRequestTest.php 1 location

@@ 42-48 (lines=7) @@
39
    /**
40
     * Test that params are as expected
41
     */
42
    public function testGetData()
43
    {
44
        /** @var DeleteClassifierRequest $request */
45
        $request = $this->client->deleteClassifier(['classifier_id' => $this->classifierId]);
46
47
        $this->assertEquals(array_merge($this->config, ['classifier_id' => $this->classifierId]), $request->getData());
48
    }
49
50
    /**
51
     * Test the delete classifier function HTTP request

Tests/Message/GetClassifierRequestTest.php 1 location

@@ 41-47 (lines=7) @@
38
    /**
39
     * Test that params are as expected
40
     */
41
    public function testGetData()
42
    {
43
        /** @var GetClassifierRequest $request */
44
        $request = $this->client->getClassifier(['classifier_id' => $this->classifierId]);
45
46
        $this->assertEquals(array_merge($this->config, ['classifier_id' => $this->classifierId]), $request->getData());
47
    }
48
49
    /**
50
     * Test the getClassifier function HTTP request