@Test(expected = Exception.class)
public void testJsonLoaderLoadUsingWrongResource() throws Exception {

    // WHEN
    final DataSetLoader<Document> loader = LOADER_PROVIDER.jsonLoader();
    // THEN
    assertThat(loader, notNullValue());
    // WHEN
    loader.load(getFile("test-data.yaml"));
    // THEN
    // Exception from the parser is thrown
}