eZ\Bundle\EzPublishRestBundle\Tests\Functional\SessionTest::testDeleteSession PHP Method

testDeleteSession() public method

public testDeleteSession ( )
    public function testDeleteSession()
    {
        $session = $this->login();
        $response = $this->sendHttpRequest($this->createDeleteRequest($session));
        self::assertHttpResponseCodeEquals($response, 204);
        self::assertHttpResponseDeletesSessionCookie($session, $response);
        return $session;
    }