public async Task UpgradeStudentToTutorAsync_ShouldUpdateUserRoleToTutorAndReturnUpdatedUser() { //ARRANGE _tutorRepositoryMock.Setup(_tutorRepositoryMock => _tutorRepositoryMock.UserProfileUpdateAsync(user)).Returns(Task.FromResult(user)); //ACT await _sut.UpgradeStudentToTutorAsync(user); //ASSERT Assert.AreEqual("Tutor", user.Role); }