public void UpdateCatalogTest() { DefaultDataGeneration filler = new DefaultDataGeneration(); DataChamber data = new DataChamber(); DatabaseActions test = new DatabaseActions(data, filler); Catalog newCatalog = new Catalog("Lokok", "Test", 1908, "Testowy", 9); test.UpdateCatalog(3, newCatalog); Assert.AreEqual(newCatalog, test.ReadCatalog(3)); }