@Test
public void testBackupsMoreThanThreshold() {

    List<ClusterNode> nodes = new ArrayList<>();
    for (int i = 0; i < 10; i++)
        nodes.add(node(metrics, ver, "1" + i));
    GridAffinityAssignment gridAffinityAssignment = new GridAffinityAssignment(
        new AffinityTopologyVersion(1, 0),
        new ArrayList<List<ClusterNode>>() {{
            add(nodes);
        }},
        new ArrayList<>()
    );
    assertSame(gridAffinityAssignment.getIds(0), gridAffinityAssignment.getIds(0));
}