### Question:
DefaultSecurityTokenCodec implements SecurityTokenCodec { @VisibleForTesting protected SecurityTokenCodec getCodec() { return codec; } @Inject  DefaultSecurityTokenCodec(ContainerConfig config); SecurityToken createToken(Map<String, String> tokenParameters); String encodeToken(SecurityToken token); int getTokenTimeToLive(); int getTokenTimeToLive(String container);  }### Answer:
@Test public void testRealDecoder() throws Exception { DefaultSecurityTokenCodec securityTokenCodec = new DefaultSecurityTokenCodec(new FakeContainerConfig("secure")); assertTrue(securityTokenCodec.getCodec() instanceof BlobCrypterSecurityTokenCodec); }