Code Duplication    Length = 7-7 lines in 2 locations

src/Tests/Response/ErrorResponseFactory/SimpleErrorResponseFactoryTest.php 1 location

@@ 93-99 (lines=7) @@
90
    /**
91
     * @test
92
     */
93
    public function willReturn404ResponsesForNotFoundHttpException()
94
    {
95
        $response = $this->factory->create(
96
            new HttpError(new Request(), new NotFoundHttpException(), $this->logRefBuilder)
97
        );
98
        $this->assertSame(404, $response->getStatusCode());
99
    }
100
101
    /**
102
     * @test

src/Tests/Response/ErrorResponseFactory/VndErrorResponseFactoryTest.php 1 location

@@ 107-113 (lines=7) @@
104
    /**
105
     * @test
106
     */
107
    public function willReturn404ResponsesForNotFoundHttpException()
108
    {
109
        $response = $this->factory->create(
110
            new HttpError(new Request(), new NotFoundHttpException(), $this->logRefBuilder)
111
        );
112
        $this->assertSame(404, $response->getStatusCode());
113
    }
114
115
    /**
116
     * @test