@Test public void builderShouldThrowWhenUserIsNull() { assertThatThrownBy(() -> UsersQuotaDetailsDTO.builder().build()) .isInstanceOf(NullPointerException.class); }
public static Builder builder() { return new Builder(); }
UsersQuotaDetailsDTO { public static Builder builder() { return new Builder(); } }
UsersQuotaDetailsDTO { public static Builder builder() { return new Builder(); } @VisibleForTesting  UsersQuotaDetailsDTO(Username username, QuotaDetailsDTO detail); }
UsersQuotaDetailsDTO { public static Builder builder() { return new Builder(); } @VisibleForTesting  UsersQuotaDetailsDTO(Username username, QuotaDetailsDTO detail); static Builder builder(); @JsonProperty(USERNAME) String getUsername(); QuotaDetailsDTO getDetail(); }
UsersQuotaDetailsDTO { public static Builder builder() { return new Builder(); } @VisibleForTesting  UsersQuotaDetailsDTO(Username username, QuotaDetailsDTO detail); static Builder builder(); @JsonProperty(USERNAME) String getUsername(); QuotaDetailsDTO getDetail();  }