@Test
public void getOrganizations() {

    mockStatic(Stapler.class);
    StaplerRequest staplerRequest = mock(StaplerRequest.class);
    when(Stapler.getCurrentRequest()).thenReturn(staplerRequest);
    when(staplerRequest.getParameter(CREDENTIAL_ID)).thenReturn("12345");
}