public static FormatInfo of(final String format) {
    return FormatInfo.of(format, ImmutableMap.of());
  }
@Test
  public void shouldImplementEquals() {
    new EqualsTester()
        .addEqualityGroup(
            FormatInfo.of("DELIMITED", ImmutableMap.of("prop", "x")),
            FormatInfo.of("DELIMITED", ImmutableMap.of("prop", "x"))
        )
        .addEqualityGroup(
            FormatInfo.of("DELIMITED"),
            FormatInfo.of("DELIMITED")
        )
        .addEqualityGroup(
            FormatInfo.of("AVRO")
        )
        .addEqualityGroup(
            FormatInfo.of("DELIMITED", ImmutableMap.of("prop", "|"))
        )
        .testEquals();
  }