/// <summary> /// Initializes a new instance of the <see cref="StarshipService"/> class. /// </summary> /// <param name="starshipGateway">The starship gateway.</param> public StarshipService(IStarshipGateway starshipGateway) { this.starshipGateway = starshipGateway; }
public StarshipServiceTests() { fixture = new Fixture(); starshipGateway = Substitute.For <IStarshipGateway>(); starshipService = new StarshipService(starshipGateway); }