Code Duplication    Length = 7-7 lines in 2 locations

tests/Impl/Serializer/FacadeDocBodyResponseBodyDenormalizerTest.php 2 locations

@@ 70-76 (lines=7) @@
67
        $this->denormalizer->denormalize([], Body::class);
68
    }
69
70
    public function testDenormalizeWithWrongData(): void
71
    {
72
        $this->denormalizer->setDenormalizer($this->inner);
73
74
        $this->expectException(InvalidArgumentException::class);
75
        $this->denormalizer->denormalize('wrong', Body::class);
76
    }
77
78
    public function testDenormalizeWithWrongType(): void
79
    {
@@ 78-84 (lines=7) @@
75
        $this->denormalizer->denormalize('wrong', Body::class);
76
    }
77
78
    public function testDenormalizeWithWrongType(): void
79
    {
80
        $this->denormalizer->setDenormalizer($this->inner);
81
82
        $this->expectException(InvalidArgumentException::class);
83
        $this->denormalizer->denormalize([], \stdClass::class);
84
    }
85
86
    public function testSetDenormalizerWithNoSerializer(): void
87
    {