IdentityZoneManagerImpl implements IdentityZoneManager { @Override public String getCurrentIdentityZoneId() { return IdentityZoneHolder.getCurrentZoneId(); }  @Override IdentityZone getCurrentIdentityZone(); @Override String getCurrentIdentityZoneId(); @Override boolean isCurrentZoneUaa(); @Override void setCurrentIdentityZone(final IdentityZone identityZone);  }
@Test void getCurrentIdentityZoneId() { String zoneId = UUID.randomUUID().toString(); when(mockIdentityZone.getId()).thenReturn(zoneId); assertThat(identityZoneManager.getCurrentIdentityZoneId(), is(zoneId)); }