use of com.redhat.service.bridge.integration.tests.context.BridgeContext in project sandbox by 5733d9e2be6485d52ffa08870cabdee0.
the class ProcessorSteps method deleteProcessorOfBridgeIsFailingWithHTTPResponseCode.
@When("^delete the Processor \"([^\"]*)\" of the Bridge \"([^\"]*)\" is failing with HTTP response code (\\d+)$")
public void deleteProcessorOfBridgeIsFailingWithHTTPResponseCode(String processorName, String testBridgeName, int responseCode) {
BridgeContext bridgeContext = context.getBridge(testBridgeName);
String processorId = bridgeContext.getProcessor(processorName).getId();
ProcessorResource.deleteProcessorResponse(context.getManagerToken(), bridgeContext.getId(), processorId).then().statusCode(responseCode);
}
Aggregations