/// <summary>
 /// Initializes a new instance of the <see cref="ResupplyService"/> class.
 /// </summary>
 /// <param name="resupplyCalculatorService">The resupply calculator service.</param>
 public ResupplyService(IResupplyCalculatorService resupplyCalculatorService)
 {
     this.resupplyCalculatorService = resupplyCalculatorService;
 }
Exemple #2
0
 public ResupplyServiceTests()
 {
     fixture = new Fixture();
     resupplyCalculatorService = Substitute.For <IResupplyCalculatorService>();
     resupplyService           = new ResupplyService(resupplyCalculatorService);
 }
 public ResupplyCalculatorServiceTests()
 {
     fixture = new Fixture();
     resupplyCalculatorService = new ResupplyCalculatorService();
 }