Code Duplication    Length = 10-10 lines in 2 locations

Tests/Api/AgentProfileApiClientTest.php 1 location

@@ 31-40 (lines=10) @@
28
     */
29
    private $client;
30
31
    protected function setUp()
32
    {
33
        parent::setUp();
34
        $this->client = new AgentProfileApiClient(
35
            $this->requestHandler,
36
            '1.0.1',
37
            new DocumentDataSerializer($this->serializer),
38
            new ActorSerializer($this->serializer)
39
        );
40
    }
41
42
    public function testCreateOrUpdateDocument()
43
    {

Tests/Api/StateApiClientTest.php 1 location

@@ 32-41 (lines=10) @@
29
     */
30
    private $client;
31
32
    protected function setUp()
33
    {
34
        parent::setUp();
35
        $this->client = new StateApiClient(
36
            $this->requestHandler,
37
            '1.0.1',
38
            new DocumentDataSerializer($this->serializer),
39
            new ActorSerializer($this->serializer)
40
        );
41
    }
42
43
    public function testCreateOrUpdateDocument()
44
    {