@Test
 public void testConnectInputShuffleStream() {
   new Expectations() {
     {
       destination = new StreamDestination(pi, parallelism, PartitioningScheme.SHUFFLE);
       stream.addDestination(destination);
     }
   };
   pi.connectInputShuffleStream(stream);
 }