public function testCreateFeedEntryToken()
 {
     $manipulator = new TokenManipulator(self::$DI['app']['orm.em'], self::$DI['app']['random.low'], self::$DI['app']['repo.tokens'], self::$DI['app']['tmp.download.path']);
     $token = $manipulator->createFeedEntryToken(self::$DI['user'], self::$DI['feed_public_entry']);
     $this->assertSame(self::$DI['feed_public_entry']->getId(), $token->getData());
     $this->assertSame(self::$DI['user'], $token->getUser());
     $this->assertSame(TokenManipulator::TYPE_FEED_ENTRY, $token->getType());
     $this->assertNull($token->getExpiration());
 }