MapElements extends Operator<OutputT> implements CompositeOperator<InputT, OutputT>, TypeAware.Output<OutputT> { public static <InputT> UsingBuilder<InputT> of(PCollection<InputT> input) { return named(null).of(input); } private  MapElements(
      @Nullable String name,
      UnaryFunctionEnv<InputT, OutputT> mapper,
      @Nullable TypeDescriptor<OutputT> outputType); static UsingBuilder<InputT> of(PCollection<InputT> input); static OfBuilder named(@Nullable String name); @Override PCollection<OutputT> expand(PCollectionList<InputT> inputs); UnaryFunctionEnv<InputT, OutputT> getMapper();  }
@Test public void testBuild_ImplicitName() { final PCollection<String> dataset = TestUtils.createMockDataset(TypeDescriptors.strings()); final PCollection<String> mapped = MapElements.of(dataset).using(s -> s).output(); final MapElements map = (MapElements) TestUtils.getProducer(mapped); assertFalse(map.getName().isPresent()); }