I updated the unit test to check whether the user was prompted.