Пример #1
0
 public void Setup()
 {
     roStub = Substitute.For<IRecipeOperations>();
     sut = new RecipeController(roStub);
 }
Пример #2
0
 public RecipeController(IRecipeOperations ro)
 {
     this.ro = ro;
 }
Пример #3
0
 public ReceipeController(IRecipeOperations ro)
 {
     this.ro = ro;
 }
Пример #4
0
 public void Setup()
 {
     roTest = Substitute.For <IRecipeOperations>();
     sut    = new ReceipeController(roTest);
 }
Пример #5
0
 public RecipeController() : base()
 {
     this.ro = new RecipeOperations();
 }