Skip to content

Instantly share code, notes, and snippets.

@efleming969
Created April 25, 2013 19:45
Show Gist options
  • Select an option

  • Save efleming969/5462559 to your computer and use it in GitHub Desktop.

Select an option

Save efleming969/5462559 to your computer and use it in GitHub Desktop.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MockingLib {
public class Hello {
private IRepo repo;
public Hello(IRepo repo) {
this.repo = repo;
}
public string Say() {
return "The " + this.repo.Get() + " Thing";
}
public void Do(string thing) {
this.repo.Put("The " + thing + " Thing");
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment