@NonNull
    @Override
    public String getId() {
        return ID;
    }
@Test
    public void getOrganizationsWithCredentialId() throws IOException, UnirestException {
        String credentialId = createCredential(BitbucketServerScm.ID);
        List orgs = new RequestBuilder(baseUrl)
            .crumb(crumb)
            .status(200)
            .jwtToken(getJwtToken(j.jenkins, authenticatedUser.getId(), authenticatedUser.getId()))
            .post("/organizations/jenkins/scm/"+BitbucketServerScm.ID+"/organizations/?apiUrl="+apiUrl+"&credentialId="+credentialId)
            .build(List.class);
        assertEquals(3, orgs.size());
        assertEquals("Vivek Pandey", ((Map)orgs.get(0)).get("name"));
        assertEquals("~vivek", ((Map)orgs.get(0)).get("key"));
        assertEquals("test1", ((Map)orgs.get(1)).get("name"));
        assertEquals("TEST", ((Map)orgs.get(1)).get("key"));
        assertEquals("testproject1", ((Map)orgs.get(2)).get("name"));
        assertEquals("TESTP", ((Map)orgs.get(2)).get("key"));
    }