@Test
public void getFieldTest() {

    assertNotNull(getField(Person.class, "firstName"));
    assertNotNull(getField(SubPerson.class, "firstName"));
    assertNotNull(getField(SubPerson.class, "additionalField"));
    assertThatThrownBy(() -> getField(Person.class, "notExistingField"))
            .isInstanceOf(ScenarioException.class)
            .hasMessageStartingWith("Impossible to find field with name ");
}