diff --git a/tools/test-generator/src/main/java/org/citrusframework/generate/provider/http/SendHttpResponseActionProvider.java b/tools/test-generator/src/main/java/org/citrusframework/generate/provider/http/SendHttpResponseActionProvider.java index 71a6381bec..a1a9345bd8 100644 --- a/tools/test-generator/src/main/java/org/citrusframework/generate/provider/http/SendHttpResponseActionProvider.java +++ b/tools/test-generator/src/main/java/org/citrusframework/generate/provider/http/SendHttpResponseActionProvider.java @@ -44,8 +44,7 @@ public SendResponseModel getAction(String endpoint, HttpMessage message) { if (message.getStatusCode() instanceof HttpStatus) { responseHeaders.setStatus(((HttpStatus) message.getStatusCode()).toString()); responseHeaders.setReasonPhrase(((HttpStatus) message.getStatusCode()).getReasonPhrase()); - } - else { + } else { responseHeaders.setStatus("Status" + message.getStatusCode().value()); responseHeaders.setReasonPhrase("Custom Status Code " + message.getStatusCode().value()); }