assertXPath(descString, "/arquillian/extension[1]/property[2]/text()", PROPERTY_VALUE_2);
assertXPath(descString, "/arquillian/extension[2]/property/@name", PROPERTY_NAME_3);
assertXPath(descString, "/arquillian/extension[2]/property/text()", PROPERTY_VALUE_3);
ArquillianDescriptor descriptor = create(descString);
Assert.assertEquals(2, descriptor.getExtensions().size());
Assert.assertEquals(EXTENSION_NAME_1, descriptor.getExtensions().get(0).getExtensionName());
Assert.assertEquals(2, descriptor.getExtensions().get(0).getExtensionProperties().size());
Assert.assertEquals(PROPERTY_VALUE_1, descriptor.getExtensions().get(0).getExtensionProperties().get(PROPERTY_NAME_1));
Assert.assertEquals(PROPERTY_VALUE_2, descriptor.getExtensions().get(0).getExtensionProperties().get(PROPERTY_NAME_2));
Assert.assertEquals(EXTENSION_NAME_2, descriptor.getExtensions().get(1).getExtensionName());
Assert.assertEquals(1, descriptor.getExtensions().get(1).getExtensionProperties().size());
Assert.assertEquals(PROPERTY_VALUE_3, descriptor.getExtensions().get(1).getExtensionProperties().get(PROPERTY_NAME_3));
}