Elgg\Http\ErrorResponseTest::testCanConstructWihtoutArguments PHP Method

testCanConstructWihtoutArguments() public method

    public function testCanConstructWihtoutArguments()
    {
        $test_class = $this->class;
        $response = new $test_class();
        $this->assertEquals('', $response->getContent());
        $this->assertEquals(ELGG_HTTP_OK, $response->getStatusCode());
        $this->assertEquals(REFERRER, $response->getForwardURL());
        $this->assertEquals([], $response->getHeaders());
    }