• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

DataBiosphere / consent / #6344

18 Aug 2025 06:24PM UTC coverage: 83.311% (-0.04%) from 83.355%
#6344

push

web-flow
DT-1636: Sync User Linked Account Status with ECM (#2640)

47 of 65 new or added lines in 8 files covered. (72.31%)

2 existing lines in 1 file now uncovered.

10972 of 13170 relevant lines covered (83.31%)

0.83 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

90.48
/src/main/java/org/broadinstitute/consent/http/models/NIHUserAccount.java
1
package org.broadinstitute.consent.http.models;
2

3
import com.google.gson.annotations.SerializedName;
4
import java.util.Objects;
5

6
public class NIHUserAccount {
7

8
  @SerializedName("linkedNihUsername")
9
  private String nihUsername;
10

11
  @SerializedName("linkExpireTime")
12
  private String eraExpiration;
13

14
  private Boolean status;
15

16
  public NIHUserAccount() {
1✔
17
  }
1✔
18

19
  public NIHUserAccount(String nihUsername, String eraExpiration, Boolean status) {
1✔
20
    this.nihUsername = nihUsername;
1✔
21
    this.eraExpiration = eraExpiration;
1✔
22
    this.status = status;
1✔
23
  }
1✔
24

25
  public String getNihUsername() {
26
    return nihUsername;
1✔
27
  }
28

29
  public void setNihUsername(String nihUsername) {
30
    this.nihUsername = nihUsername;
1✔
31
  }
1✔
32

33
  public String getEraExpiration() {
34
    return eraExpiration;
1✔
35
  }
36

37
  public void setEraExpiration(String eraExpiration) {
38
    this.eraExpiration = eraExpiration;
1✔
39
  }
1✔
40

41
  public Boolean getStatus() {
42
    return status;
1✔
43
  }
44

45
  public void setStatus(Boolean status) {
46
    this.status = status;
1✔
47
  }
1✔
48

49
  @Override
50
  public boolean equals(Object o) {
51
    if (!(o instanceof NIHUserAccount that)) {
1✔
NEW
52
      return false;
×
53
    }
54
    return Objects.equals(nihUsername, that.nihUsername) && Objects.equals(
1✔
55
        eraExpiration, that.eraExpiration) && Objects.equals(status, that.status);
1✔
56
  }
57

58
  @Override
59
  public int hashCode() {
NEW
60
    return Objects.hash(nihUsername, eraExpiration, status);
×
61
  }
62
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc