@Test
public void toAndFromNotIgnoringResource() {

    EntityFilter entityFilter = new SimpleEntityFilter(ROMEO_CAR, EntityFilter.Type.TO_AND_FROM, false);
    InMemoryEntityFilter tested = new InMemoryEntityFilter(entityFilter);
    assertFalse(tested.test(romeoSidewalkToRomeoCar));
    assertFalse(tested.test(romeoSidewalkToJulietBalcony));
}