// 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.fasterxml.jackson.databind.ObjectMapper;
import com.google.protobuf.BoolValue;
import com.google.protobuf.ByteString;
import com.google.protobuf.BytesValue;
import com.google.protobuf.DoubleValue;
import com.google.protobuf.FloatValue;
import com.google.protobuf.Int32Value;
import com.google.protobuf.Int64Value;
import com.google.protobuf.StringValue;
import com.google.protobuf.UInt32Value;
import com.google.protobuf.UInt64Value;
import com.hubspot.jackson.datatype.protobuf.util.BuiltInProtobufs.HasWrappedPrimitives;
package com.hubspot.jackson.datatype.protobuf.builtin;





public class WrappedPrimitiveTest {
  private static final DoubleValue DOUBLE_WRAPPER = DoubleValue.newBuilder().setValue(1.0d).build();
  private static final FloatValue FLOAT_WRAPPER = FloatValue.newBuilder().setValue(2.0f).build();
  private static final Int64Value INT64_WRAPPER = Int64Value.newBuilder().setValue(3).build();
  private static final UInt64Value UINT64_WRAPPER = UInt64Value.newBuilder().setValue(4).build();
  private static final Int32Value INT32_WRAPPER = Int32Value.newBuilder().setValue(5).build();
  private static final UInt32Value UINT32_WRAPPER = UInt32Value.newBuilder().setValue(6).build();
  private static final BoolValue BOOL_WRAPPER = BoolValue.newBuilder().setValue(true).build();
  private static final StringValue STRING_WRAPPER = StringValue.newBuilder().setValue("test_string").build();
  private static final BytesValue BYTES_WRAPPER = BytesValue.newBuilder().setValue(ByteString.copyFromUtf8("test_bytes")).build();

  @Test
  public void itWritesFieldsWhenSetWithDefaultInclusion() throws IOException {
    HasWrappedPrimitives message = fullyPopulatedMessage();
// 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/WrappedPrimitiveTest.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.fasterxml.jackson.databind.ObjectMapper;
import com.google.protobuf.BoolValue;
import com.google.protobuf.ByteString;
import com.google.protobuf.BytesValue;
import com.google.protobuf.DoubleValue;
import com.google.protobuf.FloatValue;
import com.google.protobuf.Int32Value;
import com.google.protobuf.Int64Value;
import com.google.protobuf.StringValue;
import com.google.protobuf.UInt32Value;
import com.google.protobuf.UInt64Value;
import com.hubspot.jackson.datatype.protobuf.util.BuiltInProtobufs.HasWrappedPrimitives;

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





public class WrappedPrimitiveTest {
  private static final DoubleValue DOUBLE_WRAPPER = DoubleValue.newBuilder().setValue(1.0d).build();
  private static final FloatValue FLOAT_WRAPPER = FloatValue.newBuilder().setValue(2.0f).build();
  private static final Int64Value INT64_WRAPPER = Int64Value.newBuilder().setValue(3).build();
  private static final UInt64Value UINT64_WRAPPER = UInt64Value.newBuilder().setValue(4).build();
  private static final Int32Value INT32_WRAPPER = Int32Value.newBuilder().setValue(5).build();
  private static final UInt32Value UINT32_WRAPPER = UInt32Value.newBuilder().setValue(6).build();
  private static final BoolValue BOOL_WRAPPER = BoolValue.newBuilder().setValue(true).build();
  private static final StringValue STRING_WRAPPER = StringValue.newBuilder().setValue("test_string").build();
  private static final BytesValue BYTES_WRAPPER = BytesValue.newBuilder().setValue(ByteString.copyFromUtf8("test_bytes")).build();

  @Test
  public void itWritesFieldsWhenSetWithDefaultInclusion() throws IOException {
    HasWrappedPrimitives message = fullyPopulatedMessage();
    JsonNode json = toNode(message, camelCase());