// 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.google.protobuf.Duration;
import com.hubspot.jackson.datatype.protobuf.util.BuiltInProtobufs.HasDuration;
package com.hubspot.jackson.datatype.protobuf.builtin;





public class DurationTest {
  private static final Duration DURATION = Duration.newBuilder().setSeconds(30).build();

  @Test
  public void itWritesDurationWhenSetWithDefaultInclusion() throws IOException {
    HasDuration message = HasDuration.newBuilder().setDuration(DURATION).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/DurationTest.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.google.protobuf.Duration;
import com.hubspot.jackson.datatype.protobuf.util.BuiltInProtobufs.HasDuration;

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





public class DurationTest {
  private static final Duration DURATION = Duration.newBuilder().setSeconds(30).build();

  @Test
  public void itWritesDurationWhenSetWithDefaultInclusion() throws IOException {
    HasDuration message = HasDuration.newBuilder().setDuration(DURATION).build();
    String json = camelCase().writeValueAsString(message);