public async Task EditBikeAsyncShouldSaveBikeWithTheEditedParameters() { const int bikeId = 1; const Make bikeMake = Make.Pinarello; const string bikeModel = "Dogma F10"; const decimal bikePrice = 15000.790m; const int bikeQuantity = 1; const int bikeFrameSize = 550; //Arrange var db = this.GetDatabase(); var bike = new Bike { Id = bikeId, Make = bikeMake, Model = bikeModel, Price = bikePrice, Quantity = bikeQuantity, FrameSize = bikeFrameSize }; db.Add(bike); await db.SaveChangesAsync(); var bikeService = new BikeService(db); //Act var editedBike = await bikeService.EditAsync(bikeId, Make.Drag, "Bluebird", 870.76m, null, 3, 550, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null); //Assert editedBike .Should() .Be(true); }