public function testUser()
{
$user = ['id' => '1', 'username' => 'foo'];
$this->View->set('_authUser', $user);
$this->assertSame(['id' => '1', 'username' => 'foo'], $this->AuthUserHelper->user());
$this->assertSame('foo', $this->AuthUserHelper->user('username'));
$this->assertNull($this->AuthUserHelper->user('foofoo'));
}