/** * @covers ULogin\Init::getToken() */ public function testToken() { // check return token initial $token = $this->init->getToken(); $this->assertFalse($token, "[-] token property must be init as `false` (bool)"); // test POST $_SERVER['REQUEST_METHOD'] = 'POST'; $token = $this->init->getToken(); $this->assertFalse($token, "[-] token property must be init as `false` (bool)"); }