public void AddUserTest()
        {
            DataChamber           data   = new DataChamber();
            DefaultDataGeneration filler = new DefaultDataGeneration();
            DatabaseActions       test   = new DatabaseActions(data, filler);
            Users user = new Users(5, "Wojciech", "Mincikiewicz", 1996);

            test.AddUser(user);

            Assert.AreEqual(test.ReadUser(5), user);
        }
        public void DeleteUsersTest()
        {
            DefaultDataGeneration filler = new DefaultDataGeneration();
            DataChamber           data   = new DataChamber();
            DatabaseActions       test   = new DatabaseActions(data, filler);
            Users newUser = new Users(1, "Test", "Testowy", 1908);

            test.AddUser(newUser);
            Assert.AreEqual(test.ReadUser(5), newUser);

            test.DeleteUser(5);
            Assert.IsFalse(test.ReadAllUsers().Contains(newUser));
        }