Final classes cannot be mocked; a helpful error is raised
argOfTypeThat allows use of matchers with type-hinted params
Merge pull request #23 from rowanhill/typecoercion

Type coercion of matchers via mocks
Fix mocking methods that return byref in strict mode