}
@Test
public void testPlexusUserListResourceResponse() {
PlexusUserListResourceResponse resourceResponse = new PlexusUserListResourceResponse();
PlexusUserResource resource1 = new PlexusUserResource();
resourceResponse.addData(resource1);
resource1.setUserId("userId");
resource1.setSource("source");
resource1.setEmail("email");
PlexusRoleResource role1 = new PlexusRoleResource();
role1.setName("role1");
role1.setSource("source1");
role1.setRoleId("roleId1");
resource1.addRole(role1);
PlexusRoleResource role2 = new PlexusRoleResource();
role1.setName("role2");
role1.setSource("source2");
role1.setRoleId("roleId2");
resource1.addRole(role2);
PlexusUserResource resource2 = new PlexusUserResource();
resourceResponse.addData(resource2);
resource2.setUserId("userId");
resource2.setSource("source");
resource2.setEmail("email");
PlexusRoleResource role3 = new PlexusRoleResource();
role3.setName("role1");
role3.setSource("source1");
role3.setRoleId("roleId1");
resource2.addRole(role3);
PlexusRoleResource role4 = new PlexusRoleResource();
role4.setName("role2");
role4.setSource("source2");
role4.setRoleId("roleId2");
resource2.addRole(role4);
this.marshalUnmarchalThenCompare(resourceResponse);
this.validateXmlHasNoPackageNames(resourceResponse);
}