def METHOD_NAME(
        self, client_id, user_name, conf_code, client_secret_hash=None, error_code=None):
    expected_params = {
        'ClientId': client_id, 'Username': user_name, 'ConfirmationCode': conf_code}
    if client_secret_hash is not None:
        expected_params['SecretHash'] = client_secret_hash
    response = {}
    self._stub_bifurcator(
        'confirm_sign_up', expected_params, response, error_code=error_code)