TweetIDMask implements IDMask { public static long promotion(long tweet) { return tweet | PROMOTION; }  static long tweet(long tweet); static long summary(long tweet); static long photo(long tweet); static long player(long tweet); static long promotion(long tweet); @Override long restore(long node); static final long MASK; static final long METAMASK; static final long TWEET; static final long SUMMARY; static final long PHOTO; static final long PLAYER; static final long PROMOTION; static final long UNUSED1; static final long UNUSED2; static final long UNUSED3; }
@Test public void testPromotion() { assertEquals((-9223372036854774760L), TweetIDMask.promotion(1048L)); }