public void AddPlotRemarks() { var remarks = "something"; var unitCode = Units.First(); var plotNumber = 1; using (var database = CreateDatabase()) { var datastore = new CuttingUnitDatastore(database, CruiseID, TestDeviceInfoService.TEST_DEVICEID, new SamplerInfoDataservice(database, CruiseID, TestDeviceInfoService.TEST_DEVICEID)); var plotID = datastore.AddNewPlot(unitCode); validatePlot(datastore, unitCode, plotID, plotNumber); var plot = datastore.GetPlot(plotID); datastore.AddPlotRemark(plot.CuttingUnitCode, plot.PlotNumber, remarks); var stuff = database.QueryGeneric("select * from plot").ToArray(); var plotAgain = datastore.GetPlot(plotID); plotAgain.Remarks.Should().Be(remarks); datastore.AddPlotRemark(plot.CuttingUnitCode, plot.PlotNumber, remarks); plotAgain = datastore.GetPlot(plotID); plotAgain.Remarks.Should().Be(remarks + ", " + remarks); } }