StaticTenantIdentificationStrategy implements TenantIdentificationStrategy { @Override public String getTenant(HttpServletRequest request) { return this.tenant; } StaticTenantIdentificationStrategy(String tenant); @Override String getTenant(HttpServletRequest request);  }
@Test public void shouldAlwaysReturnTheGivenTenant() { StaticTenantIdentificationStrategy strategy = new StaticTenantIdentificationStrategy("test"); assertThat(strategy.getTenant(null), is("test")); }