Code Duplication    Length = 11-12 lines in 2 locations

tests/Clients/SoapRpcClientTest.php 2 locations

@@ 70-80 (lines=11) @@
67
    /**
68
     * @test
69
     */
70
    public function shouldHandleMethodAppendPrefixToNumbers()
71
    {
72
        //given
73
        $numbers = [1, 2, 3];
74
75
        //when
76
        $numbersWithPrefix = $this->soapClient->appendPrefixToNumbers($numbers, 'PREF - ');
77
78
        //then
79
        Assert::thatArray($numbersWithPrefix)->containsExactly('PREF - 1', 'PREF - 2', 'PREF - 3');
80
    }
81
82
    /**
83
     * @test
@@ 125-136 (lines=12) @@
122
    /**
123
     * @test
124
     */
125
    public function shouldHandleMethodWrapErrors()
126
    {
127
        //given
128
        $errors = ['error 1', 'error 2', 'error 3'];
129
130
        //when
131
        $result = $this->soapClient->wrapErrors($errors);
132
133
        //then
134
        $this->assertFalse($result->result);
135
        Assert::thatArray($result->errors)->containsExactly('error 1', 'error 2', 'error 3');
136
    }
137
138
    /**
139
     * @test