@Test
public void equalsTo() {

  List<Object> list = new ArrayList<Object>();
  Object value = new Object();
  Set<Object> set = new HashSet<Object>();
  set.add(value);
  doReturn(set).when(map).get(value);
  rangeIndex.equalsTo(value, list);
  assertTrue(list.contains(value));
}