public void LoginUser_Valid_LoginShould() { //Arrange UserService userService = new UserService(mockRepository.Object); //Act var Result = userService.Login("LoginUser", "loginPass"); //Assert mockRepository.Verify(x => x.Login(It.IsAny<string>(), It.IsAny<string>())); }
public void LoginUser_Invalid_IsNull() { //Arrange UserService userService = new UserService(mockRepository.Object); User Result; //Act Result = userService.Login("", "loginPass"); //Assert }