public void AddProcessStateTest()
        {
            DataChamber           data   = new DataChamber();
            DefaultDataGeneration filler = new DefaultDataGeneration();
            DatabaseActions       test   = new DatabaseActions(data, filler);
            Catalog      catalog         = new Catalog("Andrzej", "Sapkowski", 2000, "The Witcher", 8);
            ProcessState processState    = new ProcessState(catalog, "Znak", 1990, "Good");

            test.AddProcessState(processState);

            Assert.AreEqual(test.ReadProcessState(5), processState);
        }
        public void DeleteProcessStateTest()
        {
            DefaultDataGeneration filler = new DefaultDataGeneration();
            DataChamber           data   = new DataChamber();
            DatabaseActions       test   = new DatabaseActions(data, filler);
            Catalog      newCatalog      = new Catalog("Lokok", "Test", 1908, "Testowy", 9);
            ProcessState newProcessState = new ProcessState(newCatalog, "Testowy", 1789, "Bad");

            test.AddProcessState(newProcessState);
            Assert.AreEqual(test.ReadProcessState(5), newProcessState);

            test.DeleteProcessState(5);
            Assert.IsFalse(test.ReadAllProcessStates().Contains(newProcessState));
        }