@Parameterized.Parameters
  public static List<Object[]> data() {
    return Arrays.asList(new Object[][]{{0}, {2}});
  }
A set of tests for the selector. These use a test harness that runs a simple socket server that echos back responses.
ambry-network/src/test/java/com/github/ambry/network/SelectorTest.java