assertEquals(3, users.size());
assertTrue("Docs was " + users, users.contains(doc4.getUser()));
assertTrue("Docs was " + users, users.contains(doc5.getUser()));
assertTrue("Docs was " + users + doc6, users.contains(doc6.getUser()));
UserSearchRequest searchRequest = new UserSearchRequest();
searchRequest.setUserId("user-2");
searchRequest.setVersionCorrection(VersionCorrection.LATEST);
UserSearchResult result = _userMaster.search(searchRequest);
assertEquals(1, result.getDocuments().size());
assertEquals(result.getFirstUser(), doc2.getUser());
}