Test update_method_graph with a given constraint.