@Override
  @Test
  public void stopWithPidStopsServerProcess() {
    givenRunningServer();

    Throwable thrown = catchThrowable(() -> new Builder()
        .setPid(getServerPid())
        .build()
        .stop());

    assertThat(thrown)
        .isInstanceOf(AttachAPINotFoundException.class);
  }
Override to assert that STOP with --pid throws AttachAPINotFoundException
geode-core/src/integrationTest/java/org/apache/geode/distributed/ServerLauncherRemoteFileIntegrationTest.java