public static SerdeFeatures of(final SerdeFeature... features) {
    return new SerdeFeatures(ImmutableSet.copyOf(features));
  }
@Test
  public void shouldExcludeFeaturesIfEmpty() throws Exception {
    // Given:
    final Pojo formats = new Pojo(SerdeFeatures.of());

    // When:
    final String json = MAPPER.writeValueAsString(formats);

    // Then:
    assertThat(json, is("{}"));
  }