@Test
void getFieldWhenDoesntExist()
{

    Throwable exception = assertThrows(NoSuchFieldException.class, () -> {
        ReflectionUtils.getField(TestFieldClass.class, "doesntexist");
    });
    assertEquals("No field named [doesntexist] in class [" + TestFieldClass.class.getName() + "] or superclasses",
        exception.getMessage());
}