public void GetPasswordFromDBIsGettingPassword() { DummyMockedLoginRepository _dummyMockedLoginRepository = new DummyMockedLoginRepository(); ILogInService _logInService = new LogInService(_dummyMockedLoginRepository._logInRepository); _logInService.SaveDataFromView("Wolf", "1234"); Assert.AreEqual(_logInService.GetIDLoggedUser(), 1); }