Skip to content

Instantly share code, notes, and snippets.

@hammerdr
Created November 11, 2009 22:29
Show Gist options
  • Save hammerdr/232379 to your computer and use it in GitHub Desktop.
Save hammerdr/232379 to your computer and use it in GitHub Desktop.
class OJMoq
{
OJMoqSelector Selector(SEL aSelector)
{
var theSelector = new OJMoqSelector(aSelector);
selectors.Add(theSelector);
return theSelector;
}
}
class OJMoqSelector
{
OJMoqSelector IsCalled(int times);
OJMoqSelector WithArguments(array args);
OJMoqSelector Returns(object someValue);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment