public void Init() { _integerSequenceGenerator=Substitute.For<IIntegerSequenceGenerator>(); _cargoBookings = new CargoBookings(_integerSequenceGenerator, _bookingRepository, _console); _vesselA = new Vessel.Vessel(new CubicFeet(900)); _smallCargo = new Cargo.Cargo(new CubicFeet(200)); _bigCargo = new Cargo.Cargo(new CubicFeet(1200)); }
public void GivenCargoBookingsExist() { _integerSequenceGenerator = Substitute.For<IIntegerSequenceGenerator>(); _cargoBookings = new CargoBookings(_integerSequenceGenerator, _bookingRepository, _console); }