public void Test_Save_Planogram(string planogram) { // Prepare Planogram source = Planogram.Create(planogram); string id = source.Id; IStorageService service = NewSignalService; // Pre-validate Assert.NotNull(service); // Perform service.AddPlanogram(source); Planogram target = service.Get(x => x.Id == id).SingleOrDefault(); // Post-validate Assert.NotNull(target); Assert.Equal(source.Data, target.Data); Assert.Equal(source.Timestamp, target.Timestamp); }