def METHOD_NAME(self):
    al = RandomSampling()
    category_id = 0
    doc = generate_simple_doc("dummy_dataset", category_id, num_sentences=100)
    predictions = [Prediction(True, random.random()) for _ in doc.text_elements]
    sorted_items_for_labeling1 = al.get_recommended_items_for_labeling("dummy_workspace", "dummy_dataset",
                                                                       category_id, doc.text_elements,
                                                                       predictions, sample_size=100)
    sorted_items_for_labeling2 = al.get_recommended_items_for_labeling("dummy_workspace", "dummy_dataset",
                                                                       category_id, doc.text_elements,
                                                                       predictions, sample_size=100)
    self.assertEqual(sorted_items_for_labeling1, sorted_items_for_labeling2)