Skip to content

Instantly share code, notes, and snippets.

@jimweirich
Created September 13, 2009 00:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jimweirich/186027 to your computer and use it in GitHub Desktop.
Save jimweirich/186027 to your computer and use it in GitHub Desktop.
[Object|should_receive();new_instances();flexmock_get();flexmock_teardown();flexmock_verify()]
[Object]obj<->flexmock_proxy[PartialMockProxy|should_receive()]
[PartialMockProxy]->mock[Mock|should_receive()]
[Object]<-[note:These 5 methods are dynamically added to a partially mocked object]
[PartialMockProxy]<-[note:Proxies mediate between the mock and object]
[Mock]<-[note:Regular mock object. Knows nothing about proxies or real object.]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment