public void ChangePassword_IsChanged(int id, string value)
        {
            ChangeInfoService changeInfoController = new ChangeInfoService();
            var expected = "you";

            changeInfoController.ChangePassword(id, value);
            var actual = MockRegisteredUserRepository.GetUserById(id).Password;

            Thread.Sleep(75);
            Assert.AreEqual(expected, actual);
        }
        public void ChangeTelephone_IsChanged(int id, string value)
        {
            ChangeInfoService changeInfoController = new ChangeInfoService();
            var expected = "555";

            changeInfoController.ChangeTelephone(id, value);
            var actual = MockRegisteredUserRepository.GetUserById(id).TelephoneNumber;

            Thread.Sleep(225);
            Assert.AreEqual(expected, actual);
        }
        public void ChangeLogin_IsChanged(int id, string value)
        {
            ChangeInfoService changeInfoController = new ChangeInfoService();
            var expected = "kitty";

            changeInfoController.ChangeLogin(id, value);
            var actual = MockRegisteredUserRepository.GetUserById(id).Login;

            Thread.Sleep(150);
            Assert.AreEqual(expected, actual);
        }
        public void ChangeSurname_IsChanged(int id, string value)
        {
            ChangeInfoService changeInfoController = new ChangeInfoService();
            var expected = "Fayi";

            changeInfoController.ChangeSurame(id, value);
            var actual = MockRegisteredUserRepository.GetUserById(id).Surname;

            Thread.Sleep(300);
            Assert.AreEqual(expected, actual);
        }