assertXPath(desc, "/arquillian/group/@qualifier", GROUP_NAME_1, GROUP_NAME_2);
assertXPath(desc, "/arquillian/group[1]/@default", true);
assertXPath(desc, "/arquillian/group/container/@qualifier", CONTAINER_NAME_1, CONTAINER_NAME_2, CONTAINER_NAME_3);
ArquillianDescriptor descriptor = create(desc);
Assert.assertEquals(2, descriptor.getGroups().size());
Assert.assertEquals(2, descriptor.getGroups().get(0).getGroupContainers().size());
Assert.assertEquals(1, descriptor.getGroups().get(1).getGroupContainers().size());
Assert.assertEquals(GROUP_NAME_1, descriptor.getGroups().get(0).getGroupName());
Assert.assertEquals(CONTAINER_NAME_1, descriptor.getGroups().get(0).getGroupContainers().get(0).getContainerName());
Assert.assertEquals(CONTAINER_NAME_2, descriptor.getGroups().get(0).getGroupContainers().get(1).getContainerName());
Assert.assertEquals(GROUP_NAME_2, descriptor.getGroups().get(1).getGroupName());
Assert.assertEquals(CONTAINER_NAME_3, descriptor.getGroups().get(1).getGroupContainers().get(0).getContainerName());
}