private TestFactory() {
}
public static UserModel createUserListWithUsers(BaseTestCase test) throws UnknownHostException {
UserModelImpl result = new UserModelImpl(test.getBroadcaster());
test.disposeOnTearDown(result);
result.addUser(new MockUser("aaa", "group1"));
result.addUser(new MockUser("ccc", "group1"));
result.addUser(new MockUser("zzz", "group2", true));
result.addUser(new MockUser("aaaa", "group2"));
result.addUser(new MockUser("bbb", "group2"));
Pico.getInstance().registerComponentInstance(UserModel.class, result);
return result;
}