@Test public void getEventConfigurationByCategory_shouldReturnCorrectConfiguration() { EventConfiguration expected = new EventConfiguration(createPatientLinkTemplates()); EventConfiguration actual = atomFeedEventConfigurationService.getEventConfigurationByCategory( new SyncCategory(CategoryEnum.PATIENT.getCategory(), CategoryEnum.PATIENT.getClazz())); Assert.assertNotNull(actual); Assert.assertEquals(expected, actual); }
@Override public EventConfiguration getEventConfigurationByCategory(SyncCategory categoryEnum) { FeedConfiguration feedConfiguration = feedConfigurationService .getFeedConfigurationByCategory(categoryEnum.getCategory()); return eventConfigurationMapper.map(feedConfiguration); }
AtomfeedEventConfigurationServiceImpl implements EventConfigurationService { @Override public EventConfiguration getEventConfigurationByCategory(SyncCategory categoryEnum) { FeedConfiguration feedConfiguration = feedConfigurationService .getFeedConfigurationByCategory(categoryEnum.getCategory()); return eventConfigurationMapper.map(feedConfiguration); } }
AtomfeedEventConfigurationServiceImpl implements EventConfigurationService { @Override public EventConfiguration getEventConfigurationByCategory(SyncCategory categoryEnum) { FeedConfiguration feedConfiguration = feedConfigurationService .getFeedConfigurationByCategory(categoryEnum.getCategory()); return eventConfigurationMapper.map(feedConfiguration); }  }
AtomfeedEventConfigurationServiceImpl implements EventConfigurationService { @Override public EventConfiguration getEventConfigurationByCategory(SyncCategory categoryEnum) { FeedConfiguration feedConfiguration = feedConfigurationService .getFeedConfigurationByCategory(categoryEnum.getCategory()); return eventConfigurationMapper.map(feedConfiguration); }  @Override EventConfiguration getEventConfigurationByCategory(SyncCategory categoryEnum); @Override String extractUuidFromResourceLinks(Map<String, String> eventResourceLinks, String eventCategory,
			String preferredClient); }
AtomfeedEventConfigurationServiceImpl implements EventConfigurationService { @Override public EventConfiguration getEventConfigurationByCategory(SyncCategory categoryEnum) { FeedConfiguration feedConfiguration = feedConfigurationService .getFeedConfigurationByCategory(categoryEnum.getCategory()); return eventConfigurationMapper.map(feedConfiguration); }  @Override EventConfiguration getEventConfigurationByCategory(SyncCategory categoryEnum); @Override String extractUuidFromResourceLinks(Map<String, String> eventResourceLinks, String eventCategory,
			String preferredClient);  }