### Question:
ExampleMarketDataBuilder { public static ExampleMarketDataBuilder ofPath(Path rootPath) { return new DirectoryMarketDataBuilder(rootPath); }  static ExampleMarketDataBuilder ofResource(String resourceRoot); static ExampleMarketDataBuilder ofResource(String resourceRoot, ClassLoader classLoader); static ExampleMarketDataBuilder ofPath(Path rootPath); ImmutableMarketData buildSnapshot(LocalDate marketDataDate); RatesMarketDataLookup ratesLookup(LocalDate marketDataDate); SortedMap<LocalDate, RatesCurveGroup> loadAllRatesCurves();  }### Answer:
@Test public void test_ofPath() { Path rootPath = new File(EXAMPLE_MARKET_DATA_DIRECTORY_ROOT).toPath(); ExampleMarketDataBuilder builder = ExampleMarketDataBuilder.ofPath(rootPath); assertBuilder(builder); }