apex-enterprise-patterns / fflib-apex-mocks

An Apex mocking framework for true unit testing in Salesforce, with Stub API support
BSD 3-Clause "New" or "Revised" License
423 stars 214 forks source link

Feature/include arg types #10

Closed dfruddffdc closed 8 years ago

dfruddffdc commented 8 years ago

Key methods by Class-MethodName-ArgTypes rather than just Class-MethodName, to avoid issues with ambiguity between calls to overloaded methods with the same number of arguments.

E.g. If I have doStuff(Integer x) and doStuff(String y), calling doStuff((String)null) would show up as a method call for both methods.

This also lays the groundwork for matcher support.

afawcett commented 8 years ago

@frup42 is this waiting to be merged?

dfruddffdc commented 8 years ago

Yes please! Then #12 and then #11 please!