bobalicious / amoss

Amoss - Apex Mock Objects, Spies and Stubs - A Simple Mocking framework for Apex (Salesforce)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement 'handledBy'

bobalicious opened this issue · comments

Can use standard StubProvider interface
Can use a simplified Amoss_StubProvider interface?

expects()
  .method( 'handledMethod' )
  .handledBy( handerObject )

Once done, consider using it in the tests to cover the definition of the Assertion class - make it a little more generic and robust.

Resolved by PR #22