@Override
      public void close() {
        if (startedScanRun != null) {
          stopScanRun();
          startedScanRun = null;
        }

        if (createdScanConfig != null) {
          deleteScanConfig();
          createdScanConfig = null;
        }
      }
Positive Integration Tests for VPC-SC
java-websecurityscanner/google-cloud-websecurityscanner/src/test/java/com/google/cloud/websecurityscanner/it/v1beta/VPCServiceControlPositiveTest.java