[matcher test] refactoring - function extracted from the MatcherTest
[matcher test] refactoring - function extracted from the MatcherTest

IvanYakimov/huntl,IvanYakimov/huntl,IvanYakimov/huntl,IvanYakimov/huntl