mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-25 11:43:29 +00:00
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());
|
assertEquals("my_password".hashCode(), token.getKeyHash());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void testNoArgsConstructor() {
|
||||||
|
PrincipalAcegiUserToken token = new PrincipalAcegiUserToken();
|
||||||
|
}
|
||||||
|
|
||||||
public void testObjectsEquals() throws Exception {
|
public void testObjectsEquals() throws Exception {
|
||||||
PrincipalAcegiUserToken token1 = new PrincipalAcegiUserToken("my_password",
|
PrincipalAcegiUserToken token1 = new PrincipalAcegiUserToken("my_password",
|
||||||
"Test", "Password",
|
"Test", "Password",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user