@Test
public void shouldHandleQueryAllPeersV2() {

  // querying for peers should return a row for each other node in the cluster
  List<String> queries =
      Arrays.asList(
          "SELECT * FROM system.peers_v2",
          "select * from system.peers_v2",
          " select  *  from  system.peers_v2 ; ");
  for (String query : queries) {
    List<Action> node0Actions = handlerV2.getActions(node0, queryFrame(query));
    assertThat(node0Actions).hasSize(1);
    Action node0Action = node0Actions.get(0);
    assertThat(node0Action).isInstanceOf(MessageResponseAction.class);
    Message node0Message = ((MessageResponseAction) node0Action).getMessage();
    // should be 199 peers (200 node cluster - 1 for this node).
    assertThat(node0Message).isRows().hasRows(199).hasColumnSpecs(10);
  }
}