Skip to content

Instantly share code, notes, and snippets.

@jagregory
Created September 21, 2010 15:36
Show Gist options
  • Save jagregory/589874 to your computer and use it in GitHub Desktop.
Save jagregory/589874 to your computer and use it in GitHub Desktop.
public static class RhinoMocksExtensions
{
public static IMethodOptions<IEnumerable<T>> ReturnEmptySet<T>(this IMethodOptions<IEnumerable<T>> options)
{
return options.Return(new T[0]);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment