@Test public void testAddCount() { TranslationRequestStatistics stats = new TranslationRequestStatistics(LocaleCode.EN_US.getId(), LocaleCode.FR.getId(), 1, 0); assertThat(stats.getCount()).isEqualTo(1); stats.addCount(10); assertThat(stats.getCount()).isEqualTo(11); }
public void addCount(int usedCount) { this.count += usedCount; }
TranslationRequestStatistics implements Serializable { public void addCount(int usedCount) { this.count += usedCount; } }
TranslationRequestStatistics implements Serializable { public void addCount(int usedCount) { this.count += usedCount; } @SuppressWarnings("unused") protected  TranslationRequestStatistics();  TranslationRequestStatistics(String fromLocaleCode, String toLocaleCode,
            int count, int wordCount); }
TranslationRequestStatistics implements Serializable { public void addCount(int usedCount) { this.count += usedCount; } @SuppressWarnings("unused") protected  TranslationRequestStatistics();  TranslationRequestStatistics(String fromLocaleCode, String toLocaleCode,
            int count, int wordCount); void addCount(int usedCount); @JsonProperty("fromLocaleCode") @NotNull @Size(max = 128) @DocumentationExample("en-us") String getFromLocaleCode(); @JsonProperty("toLocaleCode") @NotNull @Size(max = 128) @DocumentationExample("fr") String getToLocaleCode(); @JsonProperty("count") @DocumentationExample("42") int getCount(); @JsonProperty("wordCount") int getWordCount(); @Override boolean equals(@Nullable Object o); @Override int hashCode(); }
TranslationRequestStatistics implements Serializable { public void addCount(int usedCount) { this.count += usedCount; } @SuppressWarnings("unused") protected  TranslationRequestStatistics();  TranslationRequestStatistics(String fromLocaleCode, String toLocaleCode,
            int count, int wordCount); void addCount(int usedCount); @JsonProperty("fromLocaleCode") @NotNull @Size(max = 128) @DocumentationExample("en-us") String getFromLocaleCode(); @JsonProperty("toLocaleCode") @NotNull @Size(max = 128) @DocumentationExample("fr") String getToLocaleCode(); @JsonProperty("count") @DocumentationExample("42") int getCount(); @JsonProperty("wordCount") int getWordCount(); @Override boolean equals(@Nullable Object o); @Override int hashCode();  }