eZ\Bundle\EzPublishRestBundle\Tests\Functional\SessionTest::testDeleteSession PHP Méthode

testDeleteSession() public méthode

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