@Test
void soapServiceLoad_invalidbundle_throwsException() {

    assertThrows(BundleLoadException.class, () -> {
        ServiceLoader loader = new ServiceLoader();
        Bundle bundle = new Bundle();
        loader.load(bundle, createServiceXml(
                DocumentTools.INSTANCE.getDocumentBuilder().newDocument(), true, true, false, true,
                false));
    });
    assertThrows(BundleLoadException.class, () -> {
        ServiceLoader loader = new ServiceLoader();
        Bundle bundle = new Bundle();
        loader.load(bundle, createServiceXml(
                DocumentTools.INSTANCE.getDocumentBuilder().newDocument(), true, true, true, false,
                false));
    });
    assertThrows(BundleLoadException.class, () -> {
        ServiceLoader loader = new ServiceLoader();
        Bundle bundle = new Bundle();
        loader.load(bundle, createServiceXml(
                DocumentTools.INSTANCE.getDocumentBuilder().newDocument(), true, true, false, false,
                true));
    });
}