@Test
public void equalsTo() {

  Object object = new Object();
  doReturn(object).when(map).get(object);
  List<Object> actualObjects = index.equalsTo(object);
  assertEquals(object, actualObjects.get(0));
}