@Test
public void resolve_should_mapFieldDefToExistingType() {

    final TableType tableType = factory.create(ResolveTable.class);
    final FieldType fieldType = ResolveTable.ID.resolve(tableType);
    assertThat(fieldType.getOrigin(), is((FieldTypeReference) ResolveTable.ID));
}