Created
April 25, 2013 19:45
-
-
Save efleming969/5462559 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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