IdentityZoneHolder { public static IdentityZone get() { return IDENTITY_ZONE_THREAD_LOCAL.get(); }  static void setProvisioning(IdentityZoneProvisioning provisioning); static IdentityZone get(); static KeyManager getSamlSPKeyManager(); static IdentityZone getUaaZone(); static void set(IdentityZone zone); static void clear(); static boolean isUaa(); static String getCurrentZoneId();  }
@Test void get() { IdentityZone mockIdentityZone = mock(IdentityZone.class); IdentityZoneHolder.set(mockIdentityZone); assertThat(IdentityZoneHolder.get(), is(mockIdentityZone)); }