Add Unit tests for ContactManager

This commit is contained in:
Torsten Grote
2016-10-31 12:37:13 -02:00
parent 1e36f21cc8
commit 7eeeb5f1ed
2 changed files with 137 additions and 5 deletions

View File

@@ -99,7 +99,7 @@ class ContactManagerImpl implements ContactManager, RemoveIdentityHook {
}
List<Contact> active = new ArrayList<Contact>(contacts.size());
for (Contact c : contacts) if (c.isActive()) active.add(c);
return Collections.unmodifiableList(active);
return active;
}
@Override