### Question:
QNameFieldProvider extends BasicTypeFieldProvider<QNameFieldDefinition> { @Override protected void doRegisterFields() { registerPropertyType(QName.class); }  @Override int getPriority(); @Override QNameFieldDefinition createFieldByType(final TypeInfo typeInfo); @Override Class<QNameFieldType> getFieldType(); @Override String getFieldTypeName(); @Override QNameFieldDefinition getDefaultField();  }### Answer:
@Test public void testDoRegisterFields() { provider.doRegisterFields(); assertTrue(provider.supports(QName.class)); assertFalse(provider.supports(String.class)); }