@Test
public void testThrowsExceptions() throws Exception {

  File file = getResourceFile("/ListProvidersScannerTest-WithOrg.properties");
  listProvidersScanner.install(file);
  try {
    listProvidersService.getDefault(listName);
  } catch (ListProviderException e) {
    assertEquals("No provider found for organisation <*> with the name " + listName, e.getMessage());
  }
}