@Test
public void getOptionDefined() {

    final DataSetOptions options = new DataSetOptions();
    options.setOption("key", "value");
    Assert.assertEquals("value", DataSetUtil.getOptionOrThrow(options, "key", null));
}