### Question:
RatesCalibrationCsvLoader { public static ImmutableMap<CurveGroupName, RatesCurveGroupDefinition> loadWithSeasonality( ResourceLocator groupsResource, ResourceLocator settingsResource, ResourceLocator seasonalityResource, Collection<ResourceLocator> curveNodeResources) { Collection<CharSource> curveNodeCharSources = curveNodeResources.stream().map(r -> r.getCharSource()).collect(toList()); return parseWithSeasonality( groupsResource.getCharSource(), settingsResource.getCharSource(), seasonalityResource.getCharSource(), curveNodeCharSources); } private  RatesCalibrationCsvLoader(); static ImmutableMap<CurveGroupName, RatesCurveGroupDefinition> load(
      ResourceLocator groupsResource,
      ResourceLocator settingsResource,
      ResourceLocator... curveNodeResources); static ImmutableMap<CurveGroupName, RatesCurveGroupDefinition> load(
      ResourceLocator groupsResource,
      ResourceLocator settingsResource,
      Collection<ResourceLocator> curveNodeResources); static ImmutableMap<CurveGroupName, RatesCurveGroupDefinition> loadWithSeasonality(
      ResourceLocator groupsResource,
      ResourceLocator settingsResource,
      ResourceLocator seasonalityResource,
      Collection<ResourceLocator> curveNodeResources); static ImmutableMap<CurveGroupName, RatesCurveGroupDefinition> parse(
      CharSource groupsCharSource,
      CharSource settingsCharSource,
      Collection<CharSource> curveNodeCharSources); static ImmutableMap<CurveGroupName, RatesCurveGroupDefinition> parseWithSeasonality(
      CharSource groupsCharSource,
      CharSource settingsCharSource,
      CharSource seasonalityResource,
      Collection<CharSource> curveNodeCharSources);  }### Answer:
@Test public void test_parsing() { Map<CurveGroupName, RatesCurveGroupDefinition> test = RatesCalibrationCsvLoader.loadWithSeasonality( ResourceLocator.of(GROUPS_1), ResourceLocator.of(SETTINGS_1), ResourceLocator.of(SEASONALITY_1), ImmutableList.of(ResourceLocator.of(CALIBRATION_1))); assertThat(test).hasSize(1); assertDefinition(test.get(CurveGroupName.of("Default"))); }