@Test
public void testTokenWithoutSignature() {

    PrincipalToken token = new PrincipalToken("v=S1;d=coretech;n=storage");
    assertEquals(token.getDomain(), "coretech");
    assertEquals(token.getName(), "storage");
    assertEquals(token.getVersion(), "S1");
    assertNull(token.getUnsignedToken());
}