@Test
void load() {

    StoredPasswordLoader loader = new StoredPasswordLoader();
    Bundle bundle = new Bundle();
    Element password = createStoredPasswordXml(DocumentTools.INSTANCE.getDocumentBuilder().newDocument());
    loader.load(bundle, password);
    assertFalse(bundle.getStoredPasswords().isEmpty());
    assertEquals(1, bundle.getStoredPasswords().size());
    assertNotNull(bundle.getStoredPasswords().get("Test"));
    StoredPassword entity = bundle.getStoredPasswords().get("Test");
    assertNotNull(entity);
    assertEquals("Test", entity.getName());
    assertEquals("123qwe", entity.getId());
    assertNull(entity.getPassword());
    assertPropertiesContent(ImmutableMap.of(
            "description", "gateway",
            "usageFromVariable", true
    ), entity.getProperties());
}