### Question:
DefaultUserDetails implements UserDetails { @Override public int hashCode() { int hash = 5; return 89 * hash + Objects.hashCode(this.username); }  @Override Collection<? extends GrantedAuthority> getAuthorities(); @Override String getPassword(); @Override String getUsername(); @Override boolean isAccountNonExpired(); @Override boolean isAccountNonLocked(); @Override boolean isCredentialsNonExpired(); @Override boolean isEnabled(); @Override int hashCode(); @Override boolean equals(Object obj);  }### Answer:
@Test public void shouldBeMinus1405401465_whenCallHashCode() { int output = userDetails.hashCode(); int expected = -1405401465; assertThat(output).isEqualTo(expected); }