ToArray implements
        InputOutput<Iterable<? extends T>, T[]>,
        MultiInput<T> { @Override public Iterable<? extends T> getInput() { return input; }  @Override Iterable<? extends T> getInput(); @Override void setInput(final Iterable<? extends T> input); @Override TypeReference<T[]> getOutputTypeReference(); @Override ToArray<T> shallowClone(); @Override Map<String, String> getOptions(); @Override void setOptions(final Map<String, String> options);  }
@Test @Override public void builderShouldCreatePopulatedOperation() { final ToArray<String> toArray = new ToArray.Builder<String>().input("1", "2").build(); assertThat(toArray.getInput(), is(notNullValue())); assertThat(toArray.getInput(), iterableWithSize(2)); assertThat(toArray.getInput(), containsInAnyOrder("1", "2")); }