func TestStructChunks(t *testing.T) { assert := assert.New(t) st := gen.StructDef{"hi", true}.New() chunks := st.Chunks() // One chunk for the Type assert.Len(chunks, 1) }