def METHOD_NAME(
        self, app_name, app_env, role_arn, app_arn, app_version_id,
        error_code=None):
    expected_params = {
        'ApplicationName': app_name,
        'RuntimeEnvironment': app_env,
        'ServiceExecutionRole': role_arn}
    response = self._make_application_detail(
        app_name, app_version_id, app_arn, env=app_env)
    self._stub_bifurcator(
        'create_application', expected_params, response, error_code=error_code)