@@ -0,0 +1,414 @@
+package com.github.iboyko.samples.jpamodelgen.entity;%0A%0Aimport static org.junit.Assert.assertNotNull;%0A%0Aimport java.lang.reflect.Field;%0A%0Aimport org.junit.Test;%0Aimport com.github.iboyko.samples.jpamodelgen.entity.DomainObject2_;%0A%0Apublic class DomainObject2Test %7B%0A    @Test%0A    public void testMetadata() throws Exception%7B%0A%09Field idField = DomainObject2_.class.getDeclaredField(%22id%22);%0A%09assertNotNull(idField);%0A    %7D%0A%7D%0A

Test for generated object