@Test
public void test() {

    ContingenciesProviderFactory factory = new EmptyContingencyListProviderFactory();
    ContingenciesProvider provider = factory.create();
    Assert.assertTrue(provider instanceof EmptyContingencyListProvider);
    Assert.assertEquals(0, provider.getContingencies(null).size());
}