def METHOD_NAME(self, session, mfa_secret, error_code=None):
    expected_params = {'Session': session}
    response = {'SecretCode': mfa_secret}
    self._stub_bifurcator(
        'associate_software_token', expected_params, response, error_code=error_code)