assertNotNull(route.getCities().get(0).getName());
}
@Test
public void shouldWorkWhenChainingPropertiesUsingRelations() {
RoutePlanner routePlanner = Fixture.from(RoutePlanner.class).gimme("chainedRoutePlanner");
assertThat(routePlanner.getRoute().getId().getValue(), is(either(equalTo(3L)).or(equalTo(4L))));
assertThat(routePlanner.getRoute().getId().getSeq(), is(either(equalTo(300L)).or(equalTo(400L))));
assertNotNull(routePlanner.getRoute().getCities().get(0).getName());
}