Expand test coverage.
This commit is contained in:
parent
a8c9b2c96f
commit
b4273c62b7
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue