Remove unused method in RouteSet test.
Merge pull request #15116 from tgxworld/remove_unused_method_in_test

Remove unused method in RouteSet test.