ServerBulletinSummary extends ShortServerBulletinSummary { public UniversalId getUniversalId() { return UniversalId.createFromAccountAndLocalId(accountId, getLocalId()); } ServerBulletinSummary(UniversalId uidToUse, String lastModifiedToUse, String serverTimestampToUse);  ServerBulletinSummary(UniversalId uid, ShortServerBulletinSummary shortSummary); UniversalId getUniversalId();  }
@Test public void testBasics() { String accountId = "account1"; String localId = "localid1"; String lastModified = "2014-06-07"; String serverTimestamp = "2012-02-04"; UniversalId uid = UniversalId.createFromAccountAndLocalId(accountId, localId); ShortServerBulletinSummary shortSummary = new ShortServerBulletinSummary(localId, lastModified, serverTimestamp); ServerBulletinSummary summary = new ServerBulletinSummary(uid, shortSummary); assertEquals(uid, summary.getUniversalId()); assertEquals(lastModified, summary.getLastModified()); assertEquals(serverTimestamp, summary.getServerTimestamp()); }