public void Setup() { roStub = Substitute.For<IRecipeOperations>(); sut = new RecipeController(roStub); }
public RecipeController(IRecipeOperations ro) { this.ro = ro; }
public ReceipeController(IRecipeOperations ro) { this.ro = ro; }
public void Setup() { roTest = Substitute.For <IRecipeOperations>(); sut = new ReceipeController(roTest); }
public RecipeController() : base() { this.ro = new RecipeOperations(); }