def METHOD_NAME(self):
    tool = self.tool
    name = tool.selection_metadata_name
    index_md = tool.component.index.metadata
    value_md = tool.component.value.metadata
    self.mouse_down(tool, 0, 0)
    self.mouse_down(tool, 10, 10)
    self.assertEqual(index_md[name], [0, 1])
    self.assertEqual(value_md[name], [0, 1])
    # Deselect the second point
    self.mouse_down(tool, 10, 10)
    self.assertEqual(index_md[name], [0])
    self.assertEqual(value_md[name], [0])
    # Deselect the first point
    self.mouse_down(tool, 0, 0)
    self.assertEqual(index_md[name], [])
    self.assertEqual(value_md[name], [])