@Test
public void getOrganizationsWithInvalidCredentialId() throws IOException, UnirestException {

    Map r = new RequestBuilder(baseUrl)
        .status(400)
        .jwtToken(getJwtToken(j.jenkins, authenticatedUser.getId(), authenticatedUser.getId()))
        .get("/organizations/jenkins/scm/"+ BitbucketCloudScm.ID+"/organizations/"+getApiUrlParam()+"&credentialId=foo")
        .build(Map.class);
}