@Test
public void testGetAvailableOrganizationID() throws Exception {

  UUID organizationID = UUID.fromString("00000000-0000-0000-0000-000000000001");
  when(accessController.getAvailableOrganizations(credentials)).thenReturn(SetUtils.set(organization));
  when(identityResolver.resolveOrganizationUUID(organization)).thenReturn(organizationID);
  assertEquals(SetUtils.set(organizationID), context.getAvailableOrganizationID());
}