use of com.synopsys.integration.detect.lifecycle.boot.product.BlackDuckConnectivityResult in project synopsys-detect by blackducksoftware.
the class ProductBootTest method blackDuckConnectionFailureThrows.
@Test
public void blackDuckConnectionFailureThrows() {
BlackDuckConnectivityResult connectivityResult = BlackDuckConnectivityResult.failure("Failed to connect");
Assertions.assertThrows(DetectUserFriendlyException.class, () -> testBoot(BlackDuckDecision.runOnline(BlackduckScanMode.INTELLIGENT), new ProductBootOptions(false, false), connectivityResult));
}
Aggregations