@Test
public void testXmlLoaderLoadUsingProperResource() throws Exception {

    // WHEN
    final DataSetLoader<IDataSet> loader = LOADER_PROVIDER.xmlLoader();
    // THEN
    assertThat(loader, notNullValue());
    // WHEN
    final IDataSet dataSet = loader.load(getFile("test-data.xml"));
    // THEN
    assertThat(dataSet, notNullValue());
    final List<String> tableNames = Arrays.asList(dataSet.getTableNames());
    assertThat(tableNames.size(), equalTo(2));
    assertThat(tableNames, hasItems("XML_TABLE_1", "XML_TABLE_2"));
    final ITable table1 = dataSet.getTable("XML_TABLE_1");
    assertThat(table1.getRowCount(), equalTo(3));
    final ITable table2 = dataSet.getTable("XML_TABLE_2");
    assertThat(table2.getRowCount(), equalTo(1));
}