@Test
public void testInitialize() throws NoSuchFieldException, SecurityException,
        IllegalArgumentException, IllegalAccessException {

    Class<RoleAuthority> c = RoleAuthority.class;
    RoleAuthority roleAuthority = new RoleAuthority();
    System.setProperty(RoleAuthority.ATHENZ_PROP_TOKEN_OFFSET, "-1");
    
    roleAuthority.initialize();
    
    Field f1 = c.getDeclaredField("allowedOffset");
    f1.setAccessible(true);
    int m = (Integer) f1.get(roleAuthority);
    
    assertEquals(m,300);
    assertEquals(roleAuthority.userDomain,"user");
}