@Test void testWithValidEngDestination() { BaseDiagnosticsCollectionRequest request = new BaseDiagnosticsCollectionRequest(); request.setDestination(DiagnosticsDestination.ENG); StackV4Response stackV4Response = new StackV4Response(); TelemetryResponse telemetry = new TelemetryResponse(); FeaturesResponse features = new FeaturesResponse(); FeatureSetting featureSetting = new FeatureSetting(); featureSetting.setEnabled(true); features.setClusterLogsCollection(featureSetting); telemetry.setFeatures(features); stackV4Response.setTelemetry(telemetry); underTest.validate(request, stackV4Response); }
public void validate(BaseCmDiagnosticsCollectionRequest request, StackV4Response stackV4Response) { validate(request.getDestination(), stackV4Response, true); }
DiagnosticsCollectionValidator { public void validate(BaseCmDiagnosticsCollectionRequest request, StackV4Response stackV4Response) { validate(request.getDestination(), stackV4Response, true); } }
DiagnosticsCollectionValidator { public void validate(BaseCmDiagnosticsCollectionRequest request, StackV4Response stackV4Response) { validate(request.getDestination(), stackV4Response, true); }  }
DiagnosticsCollectionValidator { public void validate(BaseCmDiagnosticsCollectionRequest request, StackV4Response stackV4Response) { validate(request.getDestination(), stackV4Response, true); }  void validate(BaseCmDiagnosticsCollectionRequest request, StackV4Response stackV4Response); void validate(BaseDiagnosticsCollectionRequest request, StackV4Response stackV4Response); void validate(DiagnosticsDestination destination, StackV4Response stackV4Response, boolean cmBundle); }
DiagnosticsCollectionValidator { public void validate(BaseCmDiagnosticsCollectionRequest request, StackV4Response stackV4Response) { validate(request.getDestination(), stackV4Response, true); }  void validate(BaseCmDiagnosticsCollectionRequest request, StackV4Response stackV4Response); void validate(BaseDiagnosticsCollectionRequest request, StackV4Response stackV4Response); void validate(DiagnosticsDestination destination, StackV4Response stackV4Response, boolean cmBundle);  }