@Test
  public void profileOptionShouldSetCorrectDefaults() {
    final ArgumentCaptor<EthNetworkConfig> networkArg =
        ArgumentCaptor.forClass(EthNetworkConfig.class);

    parseCommand("--profile", "dev");
    verify(mockControllerBuilderFactory).fromEthNetworkConfig(networkArg.capture(), any());
    verify(mockControllerBuilder).build();

    final EthNetworkConfig config = networkArg.getValue();
    assertThat(config.networkId()).isEqualTo(DEV.getNetworkId());
  }
Test if the profile option sets the correct defaults. The test checks if the 'dev' profile
correctly sets the network ID to the expected value.
app/src/test/java/org/hyperledger/besu/cli/CascadingDefaultProviderTest.java