@@ -0,0 +1,1719 @@
+/*%0A * Copyright (C) 2015 Google Inc.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22); you may not%0A * use this file except in compliance with the License. You may obtain a copy of%0A * the License at%0A *%0A * http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS, WITHOUT%0A * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the%0A * License for the specific language governing permissions and limitations under%0A * the License.%0A */%0A%0Apackage com.google.cloud.dataflow.sdk.values;%0A%0Aimport static org.junit.Assert.assertFalse;%0Aimport static org.junit.Assert.assertTrue;%0A%0Aimport com.google.cloud.dataflow.sdk.Pipeline;%0Aimport com.google.cloud.dataflow.sdk.testing.TestPipeline;%0Aimport com.google.cloud.dataflow.sdk.util.WindowingStrategy;%0Aimport com.google.cloud.dataflow.sdk.values.PCollection.IsBounded;%0A%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.junit.runners.JUnit4;%0A%0A/** Unit tests for %7B@link PCollectionTuple%7D. */%0A@RunWith(JUnit4.class)%0Apublic final class PCollectionTupleTest %7B%0A  @Test%0A  public void testOfThenHas() %7B%0A    Pipeline pipeline = TestPipeline.create();%0A    PCollection%3CObject%3E pCollection = PCollection.createPrimitiveOutputInternal(%0A        pipeline, WindowingStrategy.globalDefault(), IsBounded.BOUNDED);%0A    TupleTag%3CObject%3E tag = new TupleTag%3C%3E();%0A%0A    assertTrue(PCollectionTuple.of(tag, pCollection).has(tag));%0A  %7D%0A%0A  @Test%0A  public void testEmpty() %7B%0A    Pipeline pipeline = TestPipeline.create();%0A    TupleTag%3CObject%3E tag = new TupleTag%3C%3E();%0A    assertFalse(PCollectionTuple.empty(pipeline).has(tag));%0A  %7D%0A%7D%0A

Add basic PCollectionTupleTest