void (final DomFixedChildDescription description, final DomElement child, final String tagName) { assertEquals(1, description.getCount()); assertEquals(Arrays.asList(child), description.getValues(child.getParent())); assertEquals(tagName, description.getXmlElementName()); assertEquals(GenericDomValue.class, ((ParameterizedType)description.getType()).getRawType()); assertEquals(JavaMethod.getMethod(MyElement.class, new JavaMethodSignature("getGenericValue")), description.getGetterMethod(0)); }