Fixed issue #23 - mock method with type parameters
Merge pull request #31 from misprintt/feature/issue23

Fixed issue #23 - mock method with type parameters