@Test
  @DisplayName("Non Existing profile results in error")
  public void nonExistentProfileFile_ShouldResultInError() {
    parseCommand("--profile", "non_existent_profile");

    assertThat(commandOutput.toString(UTF_8)).isEmpty();
    assertThat(commandErrorOutput.toString(UTF_8))
        .contains("Unable to load external profile: non_existent_profile");
  }
Test if besu will validate the combination of options within the given profile.
app/src/test/java/org/hyperledger/besu/cli/ProfilesTest.java