assertTrue(true);
}
}
public void testGetters() {
UsernamePasswordAuthentication token = new UsernamePasswordAuthentication("Test",
"Password", new GrantedAuthority[] { new GrantedAuthorityBean("ROLE_ONE"),
new GrantedAuthorityBean("ROLE_TWO") });
assertEquals("Test", token.getPrincipal());
assertEquals("Password", token.getCredentials());
assertEquals("ROLE_ONE", token.getAuthorities()[0].getAuthority());
assertEquals("ROLE_TWO", token.getAuthorities()[1].getAuthority());
}