Beispiel #1
0
        public async void Add_User_Valid()
        {
            UserDTO userDTO = new UserDTO()
            {
                FirstName = "Someone",
                LastName  = "Else"
            };

            var user = await _userAppService.AddUserAsync(userDTO);

            Assert.True(user.ValidationResult.IsValid);
        }