@Test public void checkSizeSavedNullWithZeroSavedBytes() { CategoryData categoryData = new CategoryData(Category.WEBP); assertThat(categoryData.totalSizeSaved()).isNull(); }
@Nullable public String totalSizeSaved() { return DisplayUtil.renderBytesSaved(Long.valueOf(bytesSaved)); }
CategoryData { @Nullable public String totalSizeSaved() { return DisplayUtil.renderBytesSaved(Long.valueOf(bytesSaved)); } }
CategoryData { @Nullable public String totalSizeSaved() { return DisplayUtil.renderBytesSaved(Long.valueOf(bytesSaved)); } CategoryData(Category category);  CategoryData(Category category, int totalSuggestions);  CategoryData(Category category, int totalSuggestions, long bytesSaved); }
CategoryData { @Nullable public String totalSizeSaved() { return DisplayUtil.renderBytesSaved(Long.valueOf(bytesSaved)); } CategoryData(Category category);  CategoryData(Category category, int totalSuggestions);  CategoryData(Category category, int totalSuggestions, long bytesSaved); @Override String toString(); int totalSuggestions(); @Nullable String totalSizeSaved(); }
CategoryData { @Nullable public String totalSizeSaved() { return DisplayUtil.renderBytesSaved(Long.valueOf(bytesSaved)); } CategoryData(Category category);  CategoryData(Category category, int totalSuggestions);  CategoryData(Category category, int totalSuggestions, long bytesSaved); @Override String toString(); int totalSuggestions(); @Nullable String totalSizeSaved();  }