/*
package com.spectralogic.ds3autogen.c;

import com.spectralogic.ds3autogen.c.models.Element;
import org.junit.Test;

import java.text.ParseException;

import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;

public class Type_Test {
    @Test
    public void testElementTypeArrayToString() throws ParseException {
        Element stringElement = new Element("arrayElement", "array", null, null);
        assertThat(CHelper.elementTypeToString(stringElement), is(""));
    }
    @Test
    public void testElementTypeSetToString() throws ParseException {
        Element stringElement = new Element("setElement", "java.util.Set", null, null);
        assertThat(CHelper.elementTypeToString(stringElement), is(""));
    }
}
*/

@@ -1,7 +1,4 @@
-/*%0A
 pack
@@ -33,16 +33,64 @@
 gen.c;%0A%0A
+import com.google.common.collect.ImmutableList;%0A
 import c
@@ -120,17 +120,19 @@
 gen.
-c
+api
 .models.
 Elem
@@ -127,16 +127,19 @@
 .models.
+Ds3
 Element;
@@ -139,16 +139,66 @@
 lement;%0A
+import com.spectralogic.ds3autogen.c.models.Type;%0A
 import o
@@ -372,32 +372,1147 @@
 est %7B%0A    @Test%0A
+    public void testTypeIsPrimitive() throws ParseException %7B%0A        Ds3Element testElement1 = new Ds3Element(%22intElement%22, %22int%22, null, null);%0A        Ds3Element testElement2 = new Ds3Element(%22boolElement%22, %22boolean%22, null, null);%0A        final ImmutableList.Builder%3CDs3Element%3E builder = ImmutableList.builder();%0A        builder.add(testElement1);%0A        builder.add(testElement2);%0A        Type testType = new Type(%22testType%22, null, builder.build());%0A        assertThat(testType.isPrimitiveType(), is(true));%0A    %7D%0A    @Test%0A    public void testTypeIsNotPrimitive() throws ParseException %7B%0A        Ds3Element testElement1 = new Ds3Element(%22boolElement%22, %22boolean%22, null, null);%0A        Ds3Element testElement2 = new Ds3Element(%22complexElement%22, %22com.spectralogic.s3.server.domain.UserApiBean%22, null, null);%0A        final ImmutableList.Builder%3CDs3Element%3E builder = ImmutableList.builder();%0A        builder.add(testElement1);%0A        builder.add(testElement2);%0A        Type testType = new Type(%22testType%22, null, builder.build());%0A        assertThat(testType.isPrimitiveType(), is(false));%0A    %7D%0A    /*%0A    @Test%0A
     public void 
@@ -1975,9 +1975,13 @@
   %7D%0A
-%7D%0A
+    
 */%0A
+%7D%0A

Add a few tests for ds3_autogen_c::Type