@Test
public void testResolveOrganizationProvidedFetchesExistingOrganizationById() throws Exception {

  UUID organizationID = UUID.randomUUID();
  Organization organization = Organization.builder().build();
  when(organizationResolver.resolveOrganization(organizationID)).thenReturn(organization);
  assertSame(organization, handler.resolveOrganization(organizationID.toString(), null));
  verify(organizationResolver).resolveOrganization(organizationID);
  verify(securityContext).checkReadPermission(organization);
}