Code Duplication    Length = 9-9 lines in 2 locations

tests/ArchangelTest.php 2 locations

@@ 281-289 (lines=9) @@
278
        );
279
    }
280
281
    public function testGetBoundary()
282
    {
283
        $archangel = new Archangel();
284
        $boundaryMethod = $this->getProtectedMethod('getBoundary');
285
        $boundary = $boundaryMethod->invoke($archangel);
286
        $expectedBoundary = sprintf('PHP-mixed-%s', uniqid());
287
288
        $this->assertEquals($expectedBoundary, $boundary);
289
    }
290
291
    public function testGetAlternativeBoundary()
292
    {
@@ 291-299 (lines=9) @@
288
        $this->assertEquals($expectedBoundary, $boundary);
289
    }
290
291
    public function testGetAlternativeBoundary()
292
    {
293
        $archangel = new Archangel();
294
        $boundaryMethod = $this->getProtectedMethod('getAlternativeBoundary');
295
        $boundary = $boundaryMethod->invoke($archangel);
296
        $expectedBoundary = sprintf('PHP-alternative-%s', uniqid());
297
298
        $this->assertEquals($expectedBoundary, $boundary);
299
    }
300
301
    protected function getProtectedValue($archangel, $property)
302
    {