OperationUtil { public static Iterable<?> fromEntityIds(final Iterable<? extends EntityId> input) { if (null == input) { return null; } return IterableUtil.map(input, new FromEntityId()); } private  OperationUtil(); static Iterable<? extends ElementId> toElementIds(final Object... input); static Iterable<? extends ElementId> toElementIds(final Iterable<?> input); static Iterable<?> fromElementIds(final Iterable<? extends ElementId> input); static Iterable<? extends EntityId> toEntityIds(final Object... input); static Iterable<? extends EntityId> toEntityIds(final Iterable<?> input); static Iterable<?> fromEntityIds(final Iterable<? extends EntityId> input); static Operation extractNextOp(final Iterator<Operation> itr);  }
@Test public void shouldReturnNullIfConvertFromEntityIdsWithNullInput() { final Iterable<? extends EntityId> input = null; final Iterable<?> output = OperationUtil.fromEntityIds(input); assertNull(output); }