public static NonVersionedRedisHolidaySource createPopulated(NonVersionedRedisHolidaySource redisHolidaySource) {
ArgumentChecker.notNull(redisHolidaySource, "redisHolidaySource");
final InMemoryHolidayMaster inMemoryHolidayMaster = new InMemoryHolidayMaster();
createPopulated(inMemoryHolidayMaster);
HolidaySearchResult holidaySearchResult = inMemoryHolidayMaster.search(new HolidaySearchRequest());
List<ManageableHoliday> holidays = holidaySearchResult.getHolidays();
for (ManageableHoliday manageableHoliday : holidays) {
SimpleHoliday simpleHoliday = new SimpleHoliday();
simpleHoliday.setCurrency(manageableHoliday.getCurrency());