// Path: src/test/java/com/moozvine/detox/testtypes/withids/SimpleTypeWithACompoundId.java
// @GenerateDTO
// public interface SimpleTypeWithACompoundId extends Serializable {
//   @Id int getIntegerId();
//   @Id String getStringId();
//   String getNotId();
// }


import com.google.common.collect.ImmutableSet;
import com.moozvine.detox.testtypes.*;
import com.moozvine.detox.testtypes.withids.SimpleTypeWithACompoundId;
import com.moozvine.detox.testtypes.withids.SimpleTypeWithACompoundIdBuilder;
import org.junit.Test;
import java.util.Date;
import java.util.Set;
import static org.junit.Assert.assertEquals;

    final String expected = "{\n" +
        "  \"serializedType\": \"com.moozvine.detox.testtypes.SimpleType\",\n" +
        "  \"someString\": \"one\",\n" +
        "  \"anInt\": 2\n" +
        "}";
    assertEquivalent(expected, copied.toString());
  }

  @Test
  public void typeWithIDShouldRenderToString() {
    final SimpleTypeWithACompoundId built = SimpleTypeWithACompoundIdBuilder.newBuilder()
        .withIntegerId(2)
        .withStringId("id")
        .withNotId("anything")
        .build();

    final String expected = "{\n" +
        "  \"serializedType\": \"com.moozvine.detox.testtypes.withids.SimpleTypeWithACompoundId\",\n" +
        "  \"stringId\": \"id\",\n" +
        "  \"integerId\": 2,\n" +
        "  \"notId\": \"anything\"\n" +
        "}";
    assertEquivalent(expected, built.toString());
  }

  @Test
  public void copiedTypeWithIDShouldRenderToString() {
    final SimpleTypeWithACompoundId toCopy = SimpleTypeWithACompoundIdBuilder.newBuilder()
        .withIntegerId(2)
// Path: src/test/java/com/moozvine/detox/testtypes/withids/SimpleTypeWithACompoundId.java
// @GenerateDTO
// public interface SimpleTypeWithACompoundId extends Serializable {
//   @Id int getIntegerId();
//   @Id String getStringId();
//   String getNotId();
// }


// Path: src/test/java/com/moozvine/detox/BuildlerToStringTest.java
import com.google.common.collect.ImmutableSet;
import com.moozvine.detox.testtypes.*;
import com.moozvine.detox.testtypes.withids.SimpleTypeWithACompoundId;
import com.moozvine.detox.testtypes.withids.SimpleTypeWithACompoundIdBuilder;
import org.junit.Test;
import java.util.Date;
import java.util.Set;
import static org.junit.Assert.assertEquals;


    final String expected = "{\n" +
        "  \"serializedType\": \"com.moozvine.detox.testtypes.SimpleType\",\n" +
        "  \"someString\": \"one\",\n" +
        "  \"anInt\": 2\n" +
        "}";
    assertEquivalent(expected, copied.toString());
  }

  @Test
  public void typeWithIDShouldRenderToString() {
    final SimpleTypeWithACompoundId built = SimpleTypeWithACompoundIdBuilder.newBuilder()
        .withIntegerId(2)
        .withStringId("id")
        .withNotId("anything")
        .build();

    final String expected = "{\n" +
        "  \"serializedType\": \"com.moozvine.detox.testtypes.withids.SimpleTypeWithACompoundId\",\n" +
        "  \"stringId\": \"id\",\n" +
        "  \"integerId\": 2,\n" +
        "  \"notId\": \"anything\"\n" +
        "}";
    assertEquivalent(expected, built.toString());
  }

  @Test
  public void copiedTypeWithIDShouldRenderToString() {
    final SimpleTypeWithACompoundId toCopy = SimpleTypeWithACompoundIdBuilder.newBuilder()
        .withIntegerId(2)
        .withStringId("id")