SimpleTenantId implements TenantId { @Override public final String asString() { return name; } SimpleTenantId(@NotNull final String name); @Override final String asString(); @Override final int hashCode(); @Override final boolean equals(final Object obj); @Override final String toString();  }
@Test public void testGetter() { assertThat(testee.asString()).isEqualTo(NAME); }