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

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

    // Then:
    assertThat(json, is("[\"WRAP_SINGLES\"]"));
  }