GetElements implements
        InputOutput<Iterable<? extends ElementId>, CloseableIterable<? extends Element>>,
        MultiElementIdInput,
        SeededGraphFilters,
        SeedMatching { @Deprecated @Override public SeedMatchingType getSeedMatching() { return seedMatching; }  @Deprecated @Override void setSeedMatching(final SeedMatchingType seedMatching); @Deprecated @Override SeedMatchingType getSeedMatching(); @Override IncludeIncomingOutgoingType getIncludeIncomingOutGoing(); @Override void setIncludeIncomingOutGoing(final IncludeIncomingOutgoingType inOutType); @Override View getView(); @Override void setView(final View view); @Override DirectedType getDirectedType(); @Override void setDirectedType(final DirectedType directedType); @Override Iterable<? extends ElementId> getInput(); @Override void setInput(final Iterable<? extends ElementId> input); @Override TypeReference<CloseableIterable<? extends Element>> getOutputTypeReference(); @Override Map<String, String> getOptions(); @Override void setOptions(final Map<String, String> options); @Override GetElements shallowClone(); @Override boolean equals(final Object obj); @Override int hashCode(); @Override String toString();  }
@Test public void shouldSetSeedMatchingTypeToEquals() { final ElementId elementId1 = new EntitySeed("identifier"); final GetElements op = new GetElements.Builder() .input(elementId1) .seedMatching(SeedMatchingType.EQUAL) .build(); assertEquals(SeedMatchingType.EQUAL, op.getSeedMatching()); }
@Test public void shouldSetSeedMatchingTypeToRelated() { final ElementId elementId1 = new EntitySeed("identifier"); final ElementId elementId2 = new EdgeSeed("source2", "destination2", true); final GetElements op = new GetElements.Builder() .input(elementId1, elementId2) .seedMatching(SeedMatchingType.RELATED) .build(); assertEquals(SeedMatchingType.RELATED, op.getSeedMatching()); }