@@ -22,7 +22,7 @@ public void remoteDetailsWithAllFields() throws Exception {
22
22
assertThat ("incorrect fullname" , dets .getFullname (), is ("full" ));
23
23
assertThat ("incorrect email" , dets .getEmail (), is ("email" ));
24
24
assertThat ("incorrect mfa authenticated" , dets .getMfa (), is (MfaStatus .UNKNOWN ));
25
- assertThat ("incorrect hashcode" , dets .hashCode (), is (- 497844993 ));
25
+ assertThat ("incorrect hashcode" , dets .hashCode (), is (1166981462 ));
26
26
assertThat ("incorrect toString()" , dets .toString (),
27
27
is ("RemoteIdentityDetails [username=user, fullname=full, email=email, mfa=UNKNOWN]" ));
28
28
}
@@ -34,7 +34,7 @@ public void remoteDetailsWithEmptyFields() throws Exception {
34
34
assertThat ("incorrect fullname" , dets .getFullname (), is ((String ) null ));
35
35
assertThat ("incorrect email" , dets .getEmail (), is ((String ) null ));
36
36
assertThat ("incorrect mfa authenticated" , dets .getMfa (), is (MfaStatus .UNKNOWN ));
37
- assertThat ("incorrect hashcode" , dets .hashCode (), is (4522828 ));
37
+ assertThat ("incorrect hashcode" , dets .hashCode (), is (1669349283 ));
38
38
assertThat ("incorrect toString()" , dets .toString (),
39
39
is ("RemoteIdentityDetails [username=user, fullname=null, email=null, mfa=UNKNOWN]" ));
40
40
@@ -43,7 +43,7 @@ public void remoteDetailsWithEmptyFields() throws Exception {
43
43
assertThat ("incorrect fullname" , dets2 .getFullname (), is ((String ) null ));
44
44
assertThat ("incorrect email" , dets2 .getEmail (), is ((String ) null ));
45
45
assertThat ("incorrect mfa authenticated" , dets2 .getMfa (), is (MfaStatus .UNKNOWN ));
46
- assertThat ("incorrect hashcode" , dets2 .hashCode (), is (4522828 ));
46
+ assertThat ("incorrect hashcode" , dets2 .hashCode (), is (1669349283 ));
47
47
assertThat ("incorrect toString()" , dets2 .toString (),
48
48
is ("RemoteIdentityDetails [username=user, fullname=null, email=null, mfa=UNKNOWN]" ));
49
49
}
@@ -116,7 +116,7 @@ public void identity() throws Exception {
116
116
final RemoteIdentity ri = new RemoteIdentity (id , dets );
117
117
assertThat ("incorrect id" , ri .getRemoteID (), is (id ));
118
118
assertThat ("incorrect details" , ri .getDetails (), is (dets ));
119
- assertThat ("incorrect hashcode" , ri .hashCode (), is (124952370 ));
119
+ assertThat ("incorrect hashcode" , ri .hashCode (), is (194964923 ));
120
120
assertThat ("incorrect toString()" , ri .toString (),
121
121
is ("RemoteIdentity [remoteID=RemoteIdentityID [provider=p, id=i], " +
122
122
"details=RemoteIdentityDetails [username=u, fullname=f, email=e, mfa=UNKNOWN]]" ));
0 commit comments