public void fail_if_no_parameter_provided() {
expectedException.expect(BadRequestException.class);
expectedException.expectMessage("One (and only one) of the following parameters must be provided 'analysisId', 'projectId', 'projectKey'");
ws.newRequest().execute().getInput();
}
<BUG>private ProjectStatusWsResponse newRequest(String taskId) {
</BUG>
try {
return ProjectStatusWsResponse.parseFrom(
ws.newRequest()

public void fail_if_no_parameter_provided() {
expectedException.expect(BadRequestException.class);
expectedException.expectMessage("One (and only one) of the following parameters must be provided 'analysisId', 'projectId', 'projectKey'");
ws.newRequest().execute().getInput();
}
private ProjectStatusWsResponse call(String taskId) {
try {
return ProjectStatusWsResponse.parseFrom(
ws.newRequest()
