GetAllElements implements
        Output<CloseableIterable<? extends Element>>,
        GraphFilters { @Override public DirectedType getDirectedType() { return directedType; }  @Override View getView(); @Override void setView(final View view); @Override DirectedType getDirectedType(); @Override void setDirectedType(final DirectedType directedType); @Override TypeReference<CloseableIterable<? extends Element>> getOutputTypeReference(); @Override Map<String, String> getOptions(); @Override void setOptions(final Map<String, String> options); @Override GetAllElements shallowClone();  }
@Test public void shouldSetDirectedTypeToBoth() { final GetAllElements op = new GetAllElements.Builder() .directedType(DirectedType.EITHER) .build(); assertEquals(DirectedType.EITHER, op.getDirectedType()); }