public function testGetKey() { $token = new AnonymousToken('foo', 'bar'); $this->assertEquals('foo', $token->getSecret()); }