@Test
void load() {

    Bundle bundle = new Bundle();
    loader.load(bundle, createIDPXml(DocumentTools.INSTANCE.getDocumentBuilder().newDocument()));
    assertFalse(bundle.getIdentityProviders().isEmpty());
    assertEquals(1, bundle.getIdentityProviders().size());
    assertNotNull(bundle.getIdentityProviders().get("Test"));
    IdentityProvider entity = bundle.getIdentityProviders().get("Test");
    assertNotNull(entity);
    assertEquals(IdentityProviderType.BIND_ONLY_LDAP, entity.getType());
    assertPropertiesContent(ImmutableMap.of(
            "Prop", "Value",
            "Gateway", "7layer"
    ), entity.getProperties());
}