this.giveUserPrivilege(TEST_USER_NAME, "39");
TestContainer.getInstance().getTestContext().setUsername(TEST_USER_NAME);
TestContainer.getInstance().getTestContext().setPassword(TEST_USER_PASSWORD);
UserMessageUtil userUtil = new UserMessageUtil(this.getJsonXStream(), MediaType.APPLICATION_JSON);
List<PlexusUserResource> users = userUtil.searchPlexusUsers("default", "admin");
Assert.assertEquals(1, users.size());
PlexusUserResource user = users.get(0);
Assert.assertEquals(user.getUserId(), "admin");
Assert.assertEquals(user.getEmail(), "changeme@yourcompany.com");