diff --git a/acceptance/bundle/validate/empty_resources/output.txt b/acceptance/bundle/validate/empty_resources/output.txt
new file mode 100644
index 00000000000..5b9cb130c28
--- /dev/null
+++ b/acceptance/bundle/validate/empty_resources/output.txt
@@ -0,0 +1,343 @@
+
+=== resources.jobs.rname: {} ===
+The Databricks CLI unexpectedly had a fatal error.
+Please report this issue to Databricks in the form of a GitHub issue at:
+https://github.com/databricks/cli
+
+CLI Version: [DEV_VERSION]
+
+Panic Payload: runtime error: invalid memory address or nil pointer dereference
+
+<Stack Trace>
+
+=== resources.jobs.rname:  ===
+Error: job rname is not defined
+  at resources.jobs.rname
+  in databricks.yml:7:11
+
+{
+  "jobs": {
+    "rname": null
+  }
+}
+
+=== resources.jobs.rname: null ===
+Error: job rname is not defined
+  at resources.jobs.rname
+  in databricks.yml:7:12
+
+{
+  "jobs": {
+    "rname": null
+  }
+}
+
+=== resources.pipelines.rname: {} ===
+Error: pipeline rname is not defined
+
+{
+  "pipelines": {
+    "rname": {}
+  }
+}
+
+=== resources.pipelines.rname:  ===
+Error: pipeline rname is not defined
+  at resources.pipelines.rname
+  in databricks.yml:7:11
+
+{
+  "pipelines": {
+    "rname": null
+  }
+}
+
+=== resources.pipelines.rname: null ===
+Error: pipeline rname is not defined
+  at resources.pipelines.rname
+  in databricks.yml:7:12
+
+{
+  "pipelines": {
+    "rname": null
+  }
+}
+
+=== resources.models.rname: {} ===
+Error: model rname is not defined
+
+{
+  "models": {
+    "rname": {}
+  }
+}
+
+=== resources.models.rname:  ===
+Error: model rname is not defined
+  at resources.models.rname
+  in databricks.yml:7:11
+
+{
+  "models": {
+    "rname": null
+  }
+}
+
+=== resources.models.rname: null ===
+Error: model rname is not defined
+  at resources.models.rname
+  in databricks.yml:7:12
+
+{
+  "models": {
+    "rname": null
+  }
+}
+
+=== resources.experiments.rname: {} ===
+Error: experiment rname is not defined
+
+{
+  "experiments": {
+    "rname": {}
+  }
+}
+
+=== resources.experiments.rname:  ===
+Error: experiment rname is not defined
+  at resources.experiments.rname
+  in databricks.yml:7:11
+
+{
+  "experiments": {
+    "rname": null
+  }
+}
+
+=== resources.experiments.rname: null ===
+Error: experiment rname is not defined
+  at resources.experiments.rname
+  in databricks.yml:7:12
+
+{
+  "experiments": {
+    "rname": null
+  }
+}
+
+=== resources.registered_models.rname: {} ===
+Error: registered model rname is not defined
+
+{
+  "registered_models": {
+    "rname": {}
+  }
+}
+
+=== resources.registered_models.rname:  ===
+Error: registered_model rname is not defined
+  at resources.registered_models.rname
+  in databricks.yml:7:11
+
+{
+  "registered_models": {
+    "rname": null
+  }
+}
+
+=== resources.registered_models.rname: null ===
+Error: registered_model rname is not defined
+  at resources.registered_models.rname
+  in databricks.yml:7:12
+
+{
+  "registered_models": {
+    "rname": null
+  }
+}
+
+=== resources.quality_monitors.rname: {} ===
+{
+  "quality_monitors": {
+    "rname": {}
+  }
+}
+
+=== resources.quality_monitors.rname:  ===
+Error: quality_monitor rname is not defined
+  at resources.quality_monitors.rname
+  in databricks.yml:7:11
+
+{
+  "quality_monitors": {
+    "rname": null
+  }
+}
+
+=== resources.quality_monitors.rname: null ===
+Error: quality_monitor rname is not defined
+  at resources.quality_monitors.rname
+  in databricks.yml:7:12
+
+{
+  "quality_monitors": {
+    "rname": null
+  }
+}
+
+=== resources.schemas.rname: {} ===
+Error: schema rname is not defined
+
+{
+  "schemas": {
+    "rname": {}
+  }
+}
+
+=== resources.schemas.rname:  ===
+Error: schema rname is not defined
+  at resources.schemas.rname
+  in databricks.yml:7:11
+
+{
+  "schemas": {
+    "rname": null
+  }
+}
+
+=== resources.schemas.rname: null ===
+Error: schema rname is not defined
+  at resources.schemas.rname
+  in databricks.yml:7:12
+
+{
+  "schemas": {
+    "rname": null
+  }
+}
+
+=== resources.volumes.rname: {} ===
+{
+  "volumes": {
+    "rname": {
+      "volume_type": "MANAGED"
+    }
+  }
+}
+
+=== resources.volumes.rname:  ===
+Error: volume rname is not defined
+  at resources.volumes.rname
+  in databricks.yml:7:11
+
+{
+  "volumes": {
+    "rname": null
+  }
+}
+
+=== resources.volumes.rname: null ===
+Error: volume rname is not defined
+  at resources.volumes.rname
+  in databricks.yml:7:12
+
+{
+  "volumes": {
+    "rname": null
+  }
+}
+
+=== resources.clusters.rname: {} ===
+Error: cluster rname is not defined
+
+{
+  "clusters": {
+    "rname": {}
+  }
+}
+
+=== resources.clusters.rname:  ===
+Error: cluster rname is not defined
+  at resources.clusters.rname
+  in databricks.yml:7:11
+
+{
+  "clusters": {
+    "rname": null
+  }
+}
+
+=== resources.clusters.rname: null ===
+Error: cluster rname is not defined
+  at resources.clusters.rname
+  in databricks.yml:7:12
+
+{
+  "clusters": {
+    "rname": null
+  }
+}
+
+=== resources.dashboards.rname: {} ===
+{
+  "dashboards": {
+    "rname": {
+      "embed_credentials": false,
+      "parent_path": "/Workspace/Users/[USERNAME]/.bundle/BUNDLE_dashboards_0/default/resources",
+      "permissions": []
+    }
+  }
+}
+
+=== resources.dashboards.rname:  ===
+Error: dashboard rname is not defined
+  at resources.dashboards.rname
+  in databricks.yml:7:11
+
+{
+  "dashboards": {
+    "rname": null
+  }
+}
+
+=== resources.dashboards.rname: null ===
+Error: dashboard rname is not defined
+  at resources.dashboards.rname
+  in databricks.yml:7:12
+
+{
+  "dashboards": {
+    "rname": null
+  }
+}
+
+=== resources.apps.rname: {} ===
+{
+  "apps": {
+    "rname": {
+      "permissions": []
+    }
+  }
+}
+
+=== resources.apps.rname:  ===
+Error: app rname is not defined
+  at resources.apps.rname
+  in databricks.yml:7:11
+
+{
+  "apps": {
+    "rname": null
+  }
+}
+
+=== resources.apps.rname: null ===
+Error: app rname is not defined
+  at resources.apps.rname
+  in databricks.yml:7:12
+
+{
+  "apps": {
+    "rname": null
+  }
+}
diff --git a/acceptance/bundle/validate/empty_resources/script b/acceptance/bundle/validate/empty_resources/script
new file mode 100644
index 00000000000..e0f63f2072e
--- /dev/null
+++ b/acceptance/bundle/validate/empty_resources/script
@@ -0,0 +1 @@
+exec python3 script.py
diff --git a/acceptance/bundle/validate/empty_resources/script.py b/acceptance/bundle/validate/empty_resources/script.py
new file mode 100644
index 00000000000..2139d4a1f0a
--- /dev/null
+++ b/acceptance/bundle/validate/empty_resources/script.py
@@ -0,0 +1,38 @@
+import os
+
+SECTIONS = [
+    "jobs",
+    "pipelines",
+    "models",
+    "experiments",
+    "registered_models",
+    "quality_monitors",
+    "schemas",
+    "volumes",
+    "clusters",
+    "dashboards",
+    "apps",
+]
+
+CLI = os.environ["CLI"]
+
+for section in SECTIONS:
+    for ind, content in enumerate(["{}", "", "null"]):
+        config = f"""
+bundle:
+  name: BUNDLE_{section}_{ind}
+
+resources:
+  {section}:
+    rname: {content}
+"""
+        print(f"\n=== resources.{section}.rname: {content} ===", flush=True)
+
+        with open("databricks.yml", "w") as fobj:
+            fobj.write(config)
+
+        ret = os.system(CLI + " bundle validate -o json | jq .resources")
+        if ret != 0:
+            print(f"Exit code: {ret}", flush=True)
+
+os.unlink("databricks.yml")
diff --git a/acceptance/bundle/validate/empty_resources/test.toml b/acceptance/bundle/validate/empty_resources/test.toml
new file mode 100644
index 00000000000..3bc1fecf89e
--- /dev/null
+++ b/acceptance/bundle/validate/empty_resources/test.toml
@@ -0,0 +1,5 @@
+Badness = "One of the tests for jobs crashes"
+
+[[Repls]]
+Old = '(?s)Stack Trace:.*?\n\n'
+New = "<Stack Trace>\n\n"
diff --git a/acceptance/bundle/validate/presets_max_concurrent_runs/databricks.yml b/acceptance/bundle/validate/presets_max_concurrent_runs/databricks.yml
new file mode 100644
index 00000000000..222a338db37
--- /dev/null
+++ b/acceptance/bundle/validate/presets_max_concurrent_runs/databricks.yml
@@ -0,0 +1,14 @@
+bundle:
+  name: BUNDLE
+
+resources:
+  jobs:
+    job1:
+      name: job1
+
+    job2:
+      name: job2
+      max_concurrent_runs: 3
+
+presets:
+  jobs_max_concurrent_runs: 5
diff --git a/acceptance/bundle/validate/presets_max_concurrent_runs/output.txt b/acceptance/bundle/validate/presets_max_concurrent_runs/output.txt
new file mode 100644
index 00000000000..30fc257f904
--- /dev/null
+++ b/acceptance/bundle/validate/presets_max_concurrent_runs/output.txt
@@ -0,0 +1,30 @@
+{
+  "job1": {
+    "deployment": {
+      "kind": "BUNDLE",
+      "metadata_file_path": "/Workspace/Users/[USERNAME]/.bundle/BUNDLE/default/state/metadata.json"
+    },
+    "edit_mode": "UI_LOCKED",
+    "format": "MULTI_TASK",
+    "max_concurrent_runs": 5,
+    "name": "job1",
+    "permissions": [],
+    "queue": {
+      "enabled": true
+    }
+  },
+  "job2": {
+    "deployment": {
+      "kind": "BUNDLE",
+      "metadata_file_path": "/Workspace/Users/[USERNAME]/.bundle/BUNDLE/default/state/metadata.json"
+    },
+    "edit_mode": "UI_LOCKED",
+    "format": "MULTI_TASK",
+    "max_concurrent_runs": 3,
+    "name": "job2",
+    "permissions": [],
+    "queue": {
+      "enabled": true
+    }
+  }
+}
diff --git a/acceptance/bundle/validate/presets_max_concurrent_runs/script b/acceptance/bundle/validate/presets_max_concurrent_runs/script
new file mode 100644
index 00000000000..2a5a539f62e
--- /dev/null
+++ b/acceptance/bundle/validate/presets_max_concurrent_runs/script
@@ -0,0 +1 @@
+$CLI bundle validate -o json | jq .resources.jobs
diff --git a/acceptance/bundle/validate/presets_name_prefix/databricks.yml.tmpl b/acceptance/bundle/validate/presets_name_prefix/databricks.yml.tmpl
new file mode 100644
index 00000000000..a8f4d57a588
--- /dev/null
+++ b/acceptance/bundle/validate/presets_name_prefix/databricks.yml.tmpl
@@ -0,0 +1,23 @@
+bundle:
+  name: BUNDLE
+
+workspace:
+  resource_path: /foo/bar
+
+resources:
+  jobs:
+    job1:
+      name: job1
+
+  schemas:
+    schema1:
+      name: schema1
+
+  volumes:
+    volume1:
+      name: volume1
+      catalog_name: catalog1
+      schema_name: schema1
+
+presets:
+  name_prefix: "$PREFIX"
diff --git a/acceptance/bundle/validate/presets_name_prefix/output.txt b/acceptance/bundle/validate/presets_name_prefix/output.txt
new file mode 100644
index 00000000000..10ae2b6f44b
--- /dev/null
+++ b/acceptance/bundle/validate/presets_name_prefix/output.txt
@@ -0,0 +1,105 @@
+
+>>> grep prefix: databricks.yml
+  name_prefix: "prefix-"
+
+>>> [CLI] bundle validate -o json
+{
+  "jobs": {
+    "job1": {
+      "deployment": {
+        "kind": "BUNDLE",
+        "metadata_file_path": "/Workspace/Users/[USERNAME]/.bundle/BUNDLE/default/state/metadata.json"
+      },
+      "edit_mode": "UI_LOCKED",
+      "format": "MULTI_TASK",
+      "name": "prefix-job1",
+      "permissions": [],
+      "queue": {
+        "enabled": true
+      }
+    }
+  },
+  "schemas": {
+    "schema1": {
+      "name": "prefixschema1"
+    }
+  },
+  "volumes": {
+    "volume1": {
+      "catalog_name": "catalog1",
+      "name": "volume1",
+      "schema_name": "schema1",
+      "volume_type": "MANAGED"
+    }
+  }
+}
+
+>>> grep prefix: databricks.yml
+  name_prefix: "[prefix]"
+
+>>> [CLI] bundle validate -o json
+{
+  "jobs": {
+    "job1": {
+      "deployment": {
+        "kind": "BUNDLE",
+        "metadata_file_path": "/Workspace/Users/[USERNAME]/.bundle/BUNDLE/default/state/metadata.json"
+      },
+      "edit_mode": "UI_LOCKED",
+      "format": "MULTI_TASK",
+      "name": "[prefix]job1",
+      "permissions": [],
+      "queue": {
+        "enabled": true
+      }
+    }
+  },
+  "schemas": {
+    "schema1": {
+      "name": "prefix_schema1"
+    }
+  },
+  "volumes": {
+    "volume1": {
+      "catalog_name": "catalog1",
+      "name": "volume1",
+      "schema_name": "schema1",
+      "volume_type": "MANAGED"
+    }
+  }
+}
+
+>>> grep prefix: databricks.yml
+  name_prefix: ""
+
+>>> [CLI] bundle validate -o json
+{
+  "jobs": {
+    "job1": {
+      "deployment": {
+        "kind": "BUNDLE",
+        "metadata_file_path": "/Workspace/Users/[USERNAME]/.bundle/BUNDLE/default/state/metadata.json"
+      },
+      "edit_mode": "UI_LOCKED",
+      "format": "MULTI_TASK",
+      "name": "job1",
+      "permissions": [],
+      "queue": {
+        "enabled": true
+      }
+    }
+  },
+  "schemas": {
+    "schema1": {
+      "name": "schema1"
+    }
+  },
+  "volumes": {
+    "volume1": {
+      "catalog_name": "catalog1",
+      "name": "volume1",
+      "schema_name": "schema1",
+      "volume_type": "MANAGED"
+    }
+  }
+}
diff --git a/acceptance/bundle/validate/presets_name_prefix/script b/acceptance/bundle/validate/presets_name_prefix/script
new file mode 100644
index 00000000000..861dec419cb
--- /dev/null
+++ b/acceptance/bundle/validate/presets_name_prefix/script
@@ -0,0 +1,13 @@
+PREFIX="prefix-" envsubst < databricks.yml.tmpl > databricks.yml
+trace grep prefix: databricks.yml
+trace $CLI bundle validate -o json | jq .resources
+
+PREFIX="[prefix]" envsubst < databricks.yml.tmpl > databricks.yml
+trace grep prefix: databricks.yml
+trace $CLI bundle validate -o json | jq .resources
+
+PREFIX="" envsubst < databricks.yml.tmpl > databricks.yml
+trace grep prefix: databricks.yml
+trace $CLI bundle validate -o json | jq .resources
+
+rm databricks.yml
diff --git a/acceptance/bundle/validate/presets_tags/databricks.yml b/acceptance/bundle/validate/presets_tags/databricks.yml
new file mode 100644
index 00000000000..84f33f521b1
--- /dev/null
+++ b/acceptance/bundle/validate/presets_tags/databricks.yml
@@ -0,0 +1,21 @@
+bundle:
+  name: BUNDLE
+
+resources:
+  jobs:
+    job1:
+      name: job1
+
+    job2:
+      name: job2
+      tags:
+        team: data
+
+    job3:
+      name: job3
+      tags:
+        env: prod
+
+presets:
+  tags:
+    env: dev
diff --git a/acceptance/bundle/validate/presets_tags/output.txt b/acceptance/bundle/validate/presets_tags/output.txt
new file mode 100644
index 00000000000..b2044bd996a
--- /dev/null
+++ b/acceptance/bundle/validate/presets_tags/output.txt
@@ -0,0 +1,12 @@
+{
+  "job1": {
+    "env": "dev"
+  },
+  "job2": {
+    "env": "dev",
+    "team": "data"
+  },
+  "job3": {
+    "env": "prod"
+  }
+}
diff --git a/acceptance/bundle/validate/presets_tags/script b/acceptance/bundle/validate/presets_tags/script
new file mode 100644
index 00000000000..8bce401b0e8
--- /dev/null
+++ b/acceptance/bundle/validate/presets_tags/script
@@ -0,0 +1 @@
+$CLI bundle validate -o json | jq '.resources.jobs | map_values(.tags)'
diff --git a/bundle/config/mutator/resourcemutator/apply_presets_test.go b/bundle/config/mutator/resourcemutator/apply_presets_test.go
deleted file mode 100644
index 2819ffde160..00000000000
--- a/bundle/config/mutator/resourcemutator/apply_presets_test.go
+++ /dev/null
@@ -1,397 +0,0 @@
-package resourcemutator_test
-
-import (
-	"context"
-	"testing"
-
-	"github.com/databricks/cli/bundle/config/mutator/resourcemutator"
-
-	"github.com/databricks/cli/bundle"
-	"github.com/databricks/cli/bundle/config"
-	"github.com/databricks/cli/bundle/config/resources"
-	"github.com/databricks/databricks-sdk-go/service/catalog"
-	"github.com/databricks/databricks-sdk-go/service/jobs"
-	"github.com/stretchr/testify/require"
-)
-
-func TestApplyPresetsPrefix(t *testing.T) {
-	tests := []struct {
-		name   string
-		prefix string
-		job    *resources.Job
-		want   string
-	}{
-		{
-			name:   "add prefix to job",
-			prefix: "prefix-",
-			job: &resources.Job{
-				JobSettings: &jobs.JobSettings{
-					Name: "job1",
-				},
-			},
-			want: "prefix-job1",
-		},
-		{
-			name:   "add empty prefix to job",
-			prefix: "",
-			job: &resources.Job{
-				JobSettings: &jobs.JobSettings{
-					Name: "job1",
-				},
-			},
-			want: "job1",
-		},
-	}
-
-	for _, tt := range tests {
-		t.Run(tt.name, func(t *testing.T) {
-			b := &bundle.Bundle{
-				Config: config.Root{
-					Resources: config.Resources{
-						Jobs: map[string]*resources.Job{
-							"job1": tt.job,
-						},
-					},
-					Presets: config.Presets{
-						NamePrefix: tt.prefix,
-					},
-				},
-			}
-
-			ctx := context.Background()
-			diag := bundle.Apply(ctx, b, resourcemutator.ApplyPresets())
-
-			if diag.HasError() {
-				t.Fatalf("unexpected error: %v", diag)
-			}
-
-			require.Equal(t, tt.want, b.Config.Resources.Jobs["job1"].Name)
-		})
-	}
-}
-
-func TestApplyPresetsPrefixForSchema(t *testing.T) {
-	tests := []struct {
-		name   string
-		prefix string
-		schema *resources.Schema
-		want   string
-	}{
-		{
-			name:   "add prefix to schema",
-			prefix: "[prefix]",
-			schema: &resources.Schema{
-				CreateSchema: &catalog.CreateSchema{
-					Name: "schema1",
-				},
-			},
-			want: "prefix_schema1",
-		},
-		{
-			name:   "add empty prefix to schema",
-			prefix: "",
-			schema: &resources.Schema{
-				CreateSchema: &catalog.CreateSchema{
-					Name: "schema1",
-				},
-			},
-			want: "schema1",
-		},
-	}
-
-	for _, tt := range tests {
-		t.Run(tt.name, func(t *testing.T) {
-			b := &bundle.Bundle{
-				Config: config.Root{
-					Resources: config.Resources{
-						Schemas: map[string]*resources.Schema{
-							"schema1": tt.schema,
-						},
-					},
-					Presets: config.Presets{
-						NamePrefix: tt.prefix,
-					},
-				},
-			}
-
-			ctx := context.Background()
-			diag := bundle.Apply(ctx, b, resourcemutator.ApplyPresets())
-
-			if diag.HasError() {
-				t.Fatalf("unexpected error: %v", diag)
-			}
-
-			require.Equal(t, tt.want, b.Config.Resources.Schemas["schema1"].Name)
-		})
-	}
-}
-
-func TestApplyPresetsVolumesShouldNotBePrefixed(t *testing.T) {
-	b := &bundle.Bundle{
-		Config: config.Root{
-			Resources: config.Resources{
-				Volumes: map[string]*resources.Volume{
-					"volume1": {
-						CreateVolumeRequestContent: &catalog.CreateVolumeRequestContent{
-							Name:        "volume1",
-							CatalogName: "catalog1",
-							SchemaName:  "schema1",
-						},
-					},
-				},
-			},
-			Presets: config.Presets{
-				NamePrefix: "[prefix]",
-			},
-		},
-	}
-
-	ctx := context.Background()
-	diag := bundle.Apply(ctx, b, resourcemutator.ApplyPresets())
-
-	if diag.HasError() {
-		t.Fatalf("unexpected error: %v", diag)
-	}
-
-	require.Equal(t, "volume1", b.Config.Resources.Volumes["volume1"].Name)
-}
-
-func TestApplyPresetsTags(t *testing.T) {
-	tests := []struct {
-		name string
-		tags map[string]string
-		job  *resources.Job
-		want map[string]string
-	}{
-		{
-			name: "add tags to job",
-			tags: map[string]string{"env": "dev"},
-			job: &resources.Job{
-				JobSettings: &jobs.JobSettings{
-					Name: "job1",
-					Tags: nil,
-				},
-			},
-			want: map[string]string{"env": "dev"},
-		},
-		{
-			name: "merge tags with existing job tags",
-			tags: map[string]string{"env": "dev"},
-			job: &resources.Job{
-				JobSettings: &jobs.JobSettings{
-					Name: "job1",
-					Tags: map[string]string{"team": "data"},
-				},
-			},
-			want: map[string]string{"env": "dev", "team": "data"},
-		},
-		{
-			name: "don't override existing job tags",
-			tags: map[string]string{"env": "dev"},
-			job: &resources.Job{
-				JobSettings: &jobs.JobSettings{
-					Name: "job1",
-					Tags: map[string]string{"env": "prod"},
-				},
-			},
-			want: map[string]string{"env": "prod"},
-		},
-	}
-
-	for _, tt := range tests {
-		t.Run(tt.name, func(t *testing.T) {
-			b := &bundle.Bundle{
-				Config: config.Root{
-					Resources: config.Resources{
-						Jobs: map[string]*resources.Job{
-							"job1": tt.job,
-						},
-					},
-					Presets: config.Presets{
-						Tags: tt.tags,
-					},
-				},
-			}
-
-			ctx := context.Background()
-			diag := bundle.Apply(ctx, b, resourcemutator.ApplyPresets())
-
-			if diag.HasError() {
-				t.Fatalf("unexpected error: %v", diag)
-			}
-
-			tags := b.Config.Resources.Jobs["job1"].Tags
-			require.Equal(t, tt.want, tags)
-		})
-	}
-}
-
-func TestApplyPresetsJobsMaxConcurrentRuns(t *testing.T) {
-	tests := []struct {
-		name    string
-		job     *resources.Job
-		setting int
-		want    int
-	}{
-		{
-			name: "set max concurrent runs",
-			job: &resources.Job{
-				JobSettings: &jobs.JobSettings{
-					Name:              "job1",
-					MaxConcurrentRuns: 0,
-				},
-			},
-			setting: 5,
-			want:    5,
-		},
-		{
-			name: "do not override existing max concurrent runs",
-			job: &resources.Job{
-				JobSettings: &jobs.JobSettings{
-					Name:              "job1",
-					MaxConcurrentRuns: 3,
-				},
-			},
-			setting: 5,
-			want:    3,
-		},
-	}
-
-	for _, tt := range tests {
-		t.Run(tt.name, func(t *testing.T) {
-			b := &bundle.Bundle{
-				Config: config.Root{
-					Resources: config.Resources{
-						Jobs: map[string]*resources.Job{
-							"job1": tt.job,
-						},
-					},
-					Presets: config.Presets{
-						JobsMaxConcurrentRuns: tt.setting,
-					},
-				},
-			}
-			ctx := context.Background()
-			diag := bundle.Apply(ctx, b, resourcemutator.ApplyPresets())
-
-			if diag.HasError() {
-				t.Fatalf("unexpected error: %v", diag)
-			}
-
-			require.Equal(t, tt.want, b.Config.Resources.Jobs["job1"].MaxConcurrentRuns)
-		})
-	}
-}
-
-func TestApplyPresetsPrefixWithoutJobSettings(t *testing.T) {
-	b := &bundle.Bundle{
-		Config: config.Root{
-			Resources: config.Resources{
-				Jobs: map[string]*resources.Job{
-					"job1": {}, // no jobsettings inside
-				},
-			},
-			Presets: config.Presets{
-				NamePrefix: "prefix-",
-			},
-		},
-	}
-
-	ctx := context.Background()
-	diags := bundle.Apply(ctx, b, resourcemutator.ApplyPresets())
-
-	require.ErrorContains(t, diags.Error(), "job job1 is not defined")
-}
-
-func TestApplyPresetsResourceNotDefined(t *testing.T) {
-	tests := []struct {
-		resources config.Resources
-		error     string
-	}{
-		{
-			resources: config.Resources{
-				Jobs: map[string]*resources.Job{
-					"job1": {}, // no jobsettings inside
-				},
-			},
-			error: "job job1 is not defined",
-		},
-		{
-			resources: config.Resources{
-				Pipelines: map[string]*resources.Pipeline{
-					"pipeline1": {}, // no pipelinespec inside
-				},
-			},
-			error: "pipeline pipeline1 is not defined",
-		},
-		{
-			resources: config.Resources{
-				Models: map[string]*resources.MlflowModel{
-					"model1": {}, // no model inside
-				},
-			},
-			error: "model model1 is not defined",
-		},
-		{
-			resources: config.Resources{
-				Experiments: map[string]*resources.MlflowExperiment{
-					"experiment1": {}, // no experiment inside
-				},
-			},
-			error: "experiment experiment1 is not defined",
-		},
-		{
-			resources: config.Resources{
-				ModelServingEndpoints: map[string]*resources.ModelServingEndpoint{
-					"endpoint1": {}, // no CreateServingEndpoint inside
-				},
-				RegisteredModels: map[string]*resources.RegisteredModel{
-					"model1": {}, // no CreateRegisteredModelRequest inside
-				},
-			},
-			error: "model serving endpoint endpoint1 is not defined",
-		},
-		{
-			resources: config.Resources{
-				QualityMonitors: map[string]*resources.QualityMonitor{
-					"monitor1": {}, // no CreateMonitor inside
-				},
-			},
-			error: "quality monitor monitor1 is not defined",
-		},
-		{
-			resources: config.Resources{
-				Schemas: map[string]*resources.Schema{
-					"schema1": {}, // no CreateSchema inside
-				},
-			},
-			error: "schema schema1 is not defined",
-		},
-		{
-			resources: config.Resources{
-				Clusters: map[string]*resources.Cluster{
-					"cluster1": {}, // no ClusterSpec inside
-				},
-			},
-			error: "cluster cluster1 is not defined",
-		},
-	}
-
-	for _, tt := range tests {
-		t.Run(tt.error, func(t *testing.T) {
-			b := &bundle.Bundle{
-				Config: config.Root{
-					Resources: tt.resources,
-					Presets: config.Presets{
-						TriggerPauseStatus: config.Paused,
-					},
-				},
-			}
-
-			ctx := context.Background()
-			diags := bundle.Apply(ctx, b, resourcemutator.ApplyPresets())
-
-			require.ErrorContains(t, diags.Error(), tt.error)
-		})
-	}
-}
