def METHOD_NAME(
        self, name, definition, role_arn, state_machine_arn, error_code=None):
    expected_params = {
        'name': name, 'definition': definition, 'roleArn': role_arn}
    response = {
        'stateMachineArn': state_machine_arn, 'creationDate': datetime.now()}
    self._stub_bifurcator(
        'create_state_machine', expected_params, response, error_code=error_code)