@Test
void save() throws ComponentLookupException
{

    assertTrue(this.manager.save(toSet()).isEmpty());
    assertTrue(this.manager.save(toSet("noentry")).isEmpty());
    assertTrue(this.manager.save(toSet("entry11", "entry12", "entry2")).isEmpty());
    register(this.storeEmpty);
    assertTrue(this.manager.save(toSet()).isEmpty());
    assertTrue(this.manager.save(toSet("noentry")).isEmpty());
    assertTrue(this.manager.save(toSet("entry11", "entry12", "entry2")).isEmpty());
    register(this.storeEmpty, this.store1);
    assertTrue(this.manager.save(toSet()).isEmpty());
    assertTrue(this.manager.save(toSet("noentry")).isEmpty());
    assertEquals(toMap("entry11", "value11"), this.manager.save(toSet("entry11")));
    assertEquals(toMap("entry11", "value11", "entry12", "value12"), this.manager.save(toSet("entry11", "entry12")));
    register(this.storeEmpty, this.store1, this.store2);
    assertTrue(this.manager.save(toSet()).isEmpty());
    assertTrue(this.manager.save(toSet("noentry")).isEmpty());
    assertEquals(toMap("entry11", "value11"), this.manager.save(toSet("entry11")));
    assertEquals(toMap("entry11", "value11", "entry12", "value12"), this.manager.save(toSet("entry11", "entry12")));
    assertEquals(toMap("entry11", "value11", "entry12", "value12"), this.manager.save(toSet("entry11", "entry12")));
    assertEquals(toMap("entry11", "value11", "entry12", "value12", "entry2", "value2"),
        this.manager.save(toSet("entry11", "entry12", "entry2")));
}