public async Task CreateUser_WhenDone_AddedUserExpected() { // Arrange var initUser = InitUserEntity(); initUser.UserId = 6; var adaptUserModel = AdaptToModel(initUser); // Act var result = await _userService.CreateUser(adaptUserModel); // Assert Assert.NotNull(result); Assert.Equal(initUser.UserName, result.UserName); Assert.Equal(initUser.UserStatus, result.UserStatus); }