//Arrange public void GetItemTotalReturnsCorrectResult() { //Act var options = new DbContextOptionsBuilder <SGDB2Context>() .UseInMemoryDatabase(databaseName: "SGDB2") .Options; using (var context = new SGDB2Context(options)) { Products thing = new Products(50.50m, .50m); context.Add(thing); StoreMethods storeMethod = new StoreMethods(); var result = storeMethod.GetItemTotal(4, thing, context); //Assert Assert.Equal(101.00m, result); } }//Test 8