// Path: src/test/java/com/hubspot/jackson/datatype/protobuf/util/ObjectMapperHelper.java
// public static ObjectMapper camelCase() {
//   return DEFAULT;
// }


import static com.hubspot.jackson.datatype.protobuf.util.ObjectMapperHelper.camelCase;
import static org.assertj.core.api.Assertions.assertThat;
import java.io.IOException;
import org.junit.Test;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.databind.JsonNode;
import com.google.protobuf.Any;
import com.google.protobuf.Value;
import com.hubspot.jackson.datatype.protobuf.util.BuiltInProtobufs.HasAny;
package com.hubspot.jackson.datatype.protobuf.builtin;





public class AnyTest {
  private static final String TYPE_URL = "type.googleapis.com/google.protobuf.Value";
  private static final Value VALUE = Value.newBuilder().setStringValue("test").build();
  private static final Any ANY = Any
          .newBuilder()
          .setTypeUrl(TYPE_URL)
          .setValue(VALUE.toByteString())
          .build();

  @Test
  public void itWritesDurationWhenSetWithDefaultInclusion() throws IOException {
    HasAny message = HasAny.newBuilder().setAny(ANY).build();
// Path: src/test/java/com/hubspot/jackson/datatype/protobuf/util/ObjectMapperHelper.java
// public static ObjectMapper camelCase() {
//   return DEFAULT;
// }


// Path: src/test/java/com/hubspot/jackson/datatype/protobuf/builtin/AnyTest.java
import static com.hubspot.jackson.datatype.protobuf.util.ObjectMapperHelper.camelCase;
import static org.assertj.core.api.Assertions.assertThat;
import java.io.IOException;
import org.junit.Test;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.databind.JsonNode;
import com.google.protobuf.Any;
import com.google.protobuf.Value;
import com.hubspot.jackson.datatype.protobuf.util.BuiltInProtobufs.HasAny;

package com.hubspot.jackson.datatype.protobuf.builtin;





public class AnyTest {
  private static final String TYPE_URL = "type.googleapis.com/google.protobuf.Value";
  private static final Value VALUE = Value.newBuilder().setStringValue("test").build();
  private static final Any ANY = Any
          .newBuilder()
          .setTypeUrl(TYPE_URL)
          .setValue(VALUE.toByteString())
          .build();

  @Test
  public void itWritesDurationWhenSetWithDefaultInclusion() throws IOException {
    HasAny message = HasAny.newBuilder().setAny(ANY).build();
    String json = camelCase().writeValueAsString(message);