@Parameterized.Parameters(name="{index}: PaymentChannelClientTest({0})") public static Collection<PaymentChannelClient.VersionSelector> data(){
  return Arrays.asList(PaymentChannelClient.VersionSelector.VERSION_1,PaymentChannelClient.VersionSelector.VERSION_2_ALLOW_1,PaymentChannelClient.VersionSelector.VERSION_2);
}

@ Parameterized . Parameters ( name = "{index}: PaymentChannelClientTest({0})" ) public static Collection < PaymentChannelClient . VersionSelector > data ( ) { return Arrays . asList ( PaymentChannelClient . VersionSelector . VERSION_1 , PaymentChannelClient . VersionSelector . VERSION_2_ALLOW_1 , PaymentChannelClient . VersionSelector . VERSION_2 ) ; }
we use parameterized tests to run the client channel tests with each version of the channel .
