@Test
public void navigateToObjectNoStepCreationTest() {

    Dispute dispute = new Dispute();
    List<String> pathToProperty = Arrays.asList("creator", "firstName");
    String message = "Impossible to reach field firstName because a step is not instantiated";
    assertThatThrownBy(() -> ScenarioBeanUtil.navigateToObject(dispute, pathToProperty, false))
            .isInstanceOf(ScenarioException.class)
            .hasMessage(message);
}