-
-
Save johnnonolan/2044194 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
public class MyController | |
{ | |
//in state testing ALL we can test is the state of the result. | |
public ActionResult myAction() | |
{ | |
//some controller stuff | |
return result; | |
} | |
} |
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
public class MyController | |
{ | |
//in state testing ALL we can test is the state of the result. | |
public ActionResult myAction() | |
{ | |
//some controller stuff | |
return result; | |
} | |
} |
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
public class MyService | |
{ | |
// i should be testing here too! | |
public Bar Stuff(object foo) | |
{ | |
//somecomplex stuff. | |
return new Bar(); | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment