@Test
  @DisplayName("Empty external profile file results in error")
  public void emptyProfileFile_ShouldResultInError() {
    parseCommand("--profile", "empty_external");

    assertThat(commandOutput.toString(UTF_8)).isEmpty();
    assertThat(commandErrorOutput.toString(UTF_8))
        .contains("Unable to read from empty TOML configuration file.");
  }
Test if besu will validate the combination of options within the given profile.
app/src/test/java/org/hyperledger/besu/cli/ProfilesTest.java