public function testUpdateTokenExisting()
{
$this->User['token'] = 'aaa';
$this->User['token_expires'] = $this->now;
$this->User->updateToken();
$this->assertEquals($this->now, $this->User['token_expires']);
$this->assertNotEquals('aaa', $this->User['token']);
}