### Question:
StatelessConfig { public int getJWTCacheSize() { return properties.getAsInt(StatelessConstants.STATELESS_JWT_CACHE_MAX_SIZE, 10000); } @Inject  StatelessConfig(SystemPropertiesWrapper properties); int getJWTCacheSize();  }### Answer:
@Test public void shouldUseWrapperForJWTCacheSize() { int value = 123; given(wrapper.getAsInt(anyString(), anyInt())).willReturn(value); assertThat(config.getJWTCacheSize()).isEqualTo(value); }