ScanRun stopScanRun() {
        StopScanRunRequest stopScanRunRequest =
            StopScanRunRequest.newBuilder().setName(startedScanRun.getName()).build();
        ScanRun stoppedScanRun = wssClient.stopScanRun(stopScanRunRequest);
        startedScanRun = null;
        return stoppedScanRun;
      }
Positive Integration Tests for VPC-SC
java-websecurityscanner/google-cloud-websecurityscanner/src/test/java/com/google/cloud/websecurityscanner/it/v1beta/VPCServiceControlPositiveTest.java