TenantContextCurrentTenantIdentifierResolver implements CurrentTenantIdentifierResolver { @Override public String resolveCurrentTenantIdentifier() { return TenantContextHolder.getContext().getTenant(); }  @Override String resolveCurrentTenantIdentifier(); @Override boolean validateExistingCurrentSessions(); void setValidateExistingCurrentSessions(boolean validateExistingCurrentSessions);  }
@Test public void shouldReturnContextAsSet() { assertThat(resolver.resolveCurrentTenantIdentifier(), is(TENANT)); }