Add test and refactor some code of the MethodMatcher
Merge branch 'develop' into feature/methodMatcherTest

* develop:
  Only run coverity on branch coverity
Merge pull request #33 from Eernie/feature/methodMatcherTest

Add test and refactor some code of the MethodMatcher