@Test(expected = IllegalArgumentException.class)
public void resolveOnNullTable_should_throw() {

    final NamedFieldTypeReference reference = new NamedFieldTypeReference(NAMED_FIELD_STR);
    final FieldType fieldType = reference.resolve(null);
    // should have already failed
    Assert.assertThat(fieldType, nullValue());
}