Code Duplication    Length = 8-8 lines in 2 locations

tests/LightSaml/Tests/Binding/BindingFactoryTest.php 2 locations

@@ 156-163 (lines=8) @@
153
    /**
154
     * @return Request
155
     */
156
    private function createArtifactPostRequest()
157
    {
158
        $request = new Request();
159
        $request->request->add(array('SAMLart' => 'request'));
160
        $request->setMethod('POST');
161
162
        return $request;
163
    }
164
165
    /**
166
     * @return Request
@@ 168-175 (lines=8) @@
165
    /**
166
     * @return Request
167
     */
168
    private function createArtifactGetRequest()
169
    {
170
        $request = new Request();
171
        $request->query->add(array('SAMLart' => 'request'));
172
        $request->setMethod('GET');
173
174
        return $request;
175
    }
176
177
    /**
178
     * @return Request