@Test
public void testNegativeNotFoundClassParam() throws ConfigurationException {

    InputStream stream = getClass().getClassLoader().getResourceAsStream("failing-no-param-class-sejda-config.xml");
    expected.expectMessage("Unable to find the configured bla.bla.not.existing.Class");
    when(provider.getConfigurationStream()).thenReturn(stream);
    XmlConfigurationStrategy.newInstance(provider);
}