@Test(expected = MissingOptionException.class)
public void writeWithoutUrl() {

    final DataSetOptions options = new DataSetOptions();
    options.setOption("dbtable", "mytable");
    final MockJdbcDataSetProvider provider = new MockJdbcDataSetProvider();
    provider.write(Mockito.mock(KyloCatalogClient.class), options, Mockito.mock(DataFrame.class));
}