@Test
public void checkSizeSavedNullWithNoSavedBytes() {

  Suggestion zeroSuggestion =
      Suggestion.create(
          Suggestion.IssueType.WEBP,
          Suggestion.Category.WEBP,
          Payload.getDefaultInstance(),
          "Convert drawing.png to webp with lossless encoding",
          null,
          new AutoFix() {
            @Override
            public void apply() {
            }
          });
  SuggestionData zeroSuggestionData = factory.fromSuggestion(zeroSuggestion);
  assertThat(zeroSuggestionData.getBytesSaved()).isNull();
}