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

    SoapCollector collector = new SoapCollector();
    Dictionary<String, Object> config = new Hashtable<>();
    collector.activate(config);
}