### Question:
SparkDataSetContext extends DataSetOptions { @Nonnull @Override public Map<String, String> getOptions() { if (options == null) { options = super.getOptions(); if (isFileFormat()) { options = resolveFileOptions(); } } return options; } SparkDataSetContext(@Nonnull final DataSetOptions parent, @Nonnull final KyloCatalogClient<T> client, @Nonnull final SparkDataSetDelegate<T> delegate); boolean isFileFormat(); @Nonnull @Override Option<String> getOption(@Nonnull final String key); @Nonnull @Override Map<String, String> getOptions(); @Nullable @Override List<String> getPaths();  }### Answer:
@Test @SuppressWarnings("unchecked") public void getOptions() { final DataSetOptions options = new DataSetOptions(); options.setFormat("text"); options.setOption(KyloCatalogConstants.PATH_OPTION, "/mock/path/file.txt"); final SparkDataSetContext<DataFrame> context = new SparkDataSetContext<>(options, Mockito.mock(KyloCatalogClient.class), Mockito.mock(SparkDataSetDelegate.class)); Assert.assertEquals("/mock/path/file.txt", context.getOption(KyloCatalogConstants.PATH_OPTION).get()); }