@Override
    public String getTenantId() {
        Tenant tenant = tenantId.get();
        return tenant != null ? tenant.tenantId() : null;
    }
@Test
    void getTenantId() {
        assertThat(underTest.getTenantId()).isNull();

        underTest.setTenantId("acme");
        assertThat(underTest.getTenantId()).isEqualTo("acme");

        underTest.setTenantId("muppets");
        assertThat(underTest.getTenantId()).isEqualTo("muppets");

        underTest.clearTenantId();
        assertThat(underTest.getTenantId()).isNull();
    }