@@ -0,0 +1,1672 @@
+package uk.co.bristlecone.voltdb.wrapgen.source;%0A%0Aimport static org.hamcrest.MatcherAssert.assertThat;%0Aimport static org.hamcrest.Matchers.equalTo;%0Aimport static org.hamcrest.Matchers.is;%0A%0Aimport org.junit.Test;%0A%0Aimport uk.co.bristlecone.voltdb.wrapgen.WrapgenRuntimeException;%0A%0Apublic class ProcReturnTypeTest %7B%0A  @Test%0A  public void isValidTypeWorksCorrectly() %7B%0A    assertThat(ProcReturnType.isValidJavaType(%22long%22), is(equalTo(true)));%0A    assertThat(ProcReturnType.isValidJavaType(%22VoltTable%22), is(equalTo(true)));%0A    assertThat(ProcReturnType.isValidJavaType(%22VoltTable%5B%5D%22), is(equalTo(true)));%0A%0A    assertThat(ProcReturnType.isValidJavaType(%22Long%22), is(equalTo(false)));%0A    assertThat(ProcReturnType.isValidJavaType(%22voltable%22), is(equalTo(false)));%0A    assertThat(ProcReturnType.isValidJavaType(%22volttable%5B%5D%22), is(equalTo(false)));%0A    assertThat(ProcReturnType.isValidJavaType(%22int%22), is(equalTo(false)));%0A    assertThat(ProcReturnType.isValidJavaType(%22void%22), is(equalTo(false)));%0A    assertThat(ProcReturnType.isValidJavaType(%22Void%22), is(equalTo(false)));%0A    assertThat(ProcReturnType.isValidJavaType(%22Foo%22), is(equalTo(false)));%0A  %7D%0A%0A  @Test%0A  public void parseJavaTypeWorksCorrectly() %7B%0A    assertThat(ProcReturnType.parseJavaType(%22long%22), is(equalTo(ProcReturnType.LONG_PRIMITIVE)));%0A    assertThat(ProcReturnType.parseJavaType(%22VoltTable%22), is(equalTo(ProcReturnType.SINGLE_VOLTTABLE)));%0A    assertThat(ProcReturnType.parseJavaType(%22VoltTable%5B%5D%22), is(equalTo(ProcReturnType.VOLTABLE_ARRAY)));%0A  %7D%0A%0A  @Test(expected = WrapgenRuntimeException.class)%0A  public void parseJavaTypeThrowsOnUnknownType() %7B%0A    ProcReturnType.parseJavaType(%22InvalidType%22);%0A  %7D%0A%7D%0A

add ProcReturnType static helper tests