MemoryTimelineStore extends AbstractService implements TimelineStore { @Override public TimelineDomain getDomain(String domainId) throws IOException { TimelineDomain domain = domainsById.get(domainId); if (domain == null) { return null; } else { return createTimelineDomain( domain.getId(), domain.getDescription(), domain.getOwner(), domain.getReaders(), domain.getWriters(), domain.getCreatedTime(), domain.getModifiedTime()); } } MemoryTimelineStore(); @Override synchronized TimelineEntities getEntities(String entityType, Long limit,
      Long windowStart, Long windowEnd, String fromId, Long fromTs,
      NameValuePair primaryFilter, Collection<NameValuePair> secondaryFilters,
      EnumSet<Field> fields, CheckAcl checkAcl); @Override synchronized TimelineEntity getEntity(String entityId, String entityType,
      EnumSet<Field> fieldsToRetrieve); @Override synchronized TimelineEvents getEntityTimelines(String entityType,
      SortedSet<String> entityIds, Long limit, Long windowStart,
      Long windowEnd,
      Set<String> eventTypes); @Override TimelineDomain getDomain(String domainId); @Override TimelineDomains getDomains(String owner); @Override synchronized TimelinePutResponse put(TimelineEntities data); void put(TimelineDomain domain);  }
@Test public void testGetDomain() throws IOException { super.testGetDomain(); }