@Parameterized.Parameters(name="{index}: PaymentChannelServerTest(version {0})") public static Collection<Integer> data(){
  return Arrays.asList(1,2);
}

@ Parameterized . Parameters ( name = "{index}: PaymentChannelServerTest(version {0})" ) public static Collection < Integer > data ( ) { return Arrays . asList ( 1 , 2 ) ; }
we use parameterized tests to run the client channel tests with each version of the channel .
