assertTrue(encodedToken.split(":").length == 2);
}
@Test
public void testEncodeTokenInsecure() throws Exception {
SecurityToken token = new AnonymousSecurityToken("insecure", 0L, "*");
String encodedToken = this.codec.encodeToken(token);
assertTrue("The token string contains the container we put in",
encodedToken.contains("insecure"));
assertTrue(encodedToken.split(":").length > 2);
}