def METHOD_NAME(self):
    self.send_signal(self.widget.Inputs.corpus, self.corpus)
    self.assertIsNone(self.get_output(self.widget.Outputs.selected_words))
    mode = QItemSelectionModel.Rows | QItemSelectionModel.Select
    view = self.widget.tableview
    view.clearSelection()
    view.selectionModel().select(self.widget.tablemodel.index(2, 0), mode)
    view.selectionModel().select(self.widget.tablemodel.index(3, 0), mode)
    output = self.get_output(self.widget.Outputs.selected_words)
    self.assertEqual(2, len(output))
    self.assertEqual("words", output.domain["Words"].attributes["type"])