def METHOD_NAME(self, value, pattern, user_reference):
    svc = VitalSourceService(user_lti_param="user_param", user_lti_pattern=pattern)
    result = svc.get_user_reference(LTIParams({"user_param": value}))
    assert result == user_reference