### Question:
TokenAuthRealm extends AuthorizingRealm { public TokenAuthRealm() { super.setName(TOKEN_AUTH_REALM_DEFAULT_NAME); authenticationService = Objects.requireNonNull(ThreadLocals.AUTH_SETVICE_TL.get()); tokenStore = ThreadLocals.TOKEN_STORE_TL.get(); tokenAuthenticators = Objects.requireNonNull(ThreadLocals.TOKEN_AUTHENICATORS_TL.get()); } TokenAuthRealm();   }### Answer:
@Test public void testTokenAuthRealm() { assertEquals("TokenAuthRealm", testRealm.getName()); }