remove unnused method from test
Merge pull request #15655 from fabianrbz/remove-unused-method-in-test

remove unnused method from test