final Map<String, Object> convs = new HashMap<String, Object>();
convs.put("key1", conv1);
convs.put("key2", conv2);
final AdaptersRepository repo = new AdaptersRepositoryImpl(convs);
final Map<String, Object> res = repo.getAll();
assertNotSame(convs, res);
assertNotNull(res);
assertEquals(convs.size(), res.size());
assertSame(conv1, res.get("key1"));
assertSame(conv2, res.get("key2"));
assertSame(conv1, repo.getByKey("key1"));
final Map<String, Object> res2 = repo.getByKeysAsMap("key1");
assertNotNull(res2);
assertEquals(1, res2.size());
assertSame(conv1, res2.get("key1"));
}