public void UpdateTest() { BusinessLogic bl = new BusinessLogicImpl(); Button button = new Button(-1, "Testbutton","no assignment"); Preset p = new Preset(-1, "TestPreset1", "green", new List<Button> { button }); bool b = bl.InsertPresetEager(p); Assert.IsTrue(b == true); p.name = "TestPreset12"; b = bl.UpdatePresetEager(p); Assert.IsTrue(b == true); b = bl.DeletePresetEager(p); Assert.IsTrue(b == true); }