Expand test coverage.

This commit is contained in:
Ben Alex 2004-03-26 11:49:43 +00:00
parent a8c9b2c96f
commit b4273c62b7
1 changed files with 4 additions and 0 deletions

View File

@ -58,6 +58,10 @@ public class PrincipalAcegiUserTokenTests extends TestCase {
assertEquals("my_password".hashCode(), token.getKeyHash());
}
public void testNoArgsConstructor() {
PrincipalAcegiUserToken token = new PrincipalAcegiUserToken();
}
public void testObjectsEquals() throws Exception {
PrincipalAcegiUserToken token1 = new PrincipalAcegiUserToken("my_password",
"Test", "Password",