def METHOD_NAME(self):
    """Test MIS random instance method"""
    seed = 1234
    gr = nx.generators.random_graphs.fast_gnp_random_graph(n=10, p=0.8, seed=seed)
    mis_manual_prob = MIS(gr).qubo
    np.random.seed(1234)
    mis_random_prob = MIS.random_instance(
        n_nodes=10, edge_probability=0.8, seed=seed
    ).qubo
    self.assertTrue(
        terms_list_equality(mis_manual_prob.terms, mis_random_prob.terms)
    )
    self.assertEqual(mis_manual_prob.weights, mis_random_prob.weights)
    self.assertEqual(mis_manual_prob.constant, mis_random_prob.constant)