Class ReferenceEntityTest
java.lang.Object
org.fastnate.generator.test.AbstractEntitySqlGeneratorTest
org.fastnate.generator.test.reference.ReferenceEntityTest
Test that references between entities are written correctly.
- Author:
- Tobias Liefke
-
Field Summary
Fields inherited from class org.fastnate.generator.test.AbstractEntitySqlGeneratorTest
WRITER_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTest that the references between parent and child are written in the correct order.Methods inherited from class org.fastnate.generator.test.AbstractEntitySqlGeneratorTest
createQuery, executeSql, findResults, findResults, findSingleResult, findSingleResult, getConnection, getEm, getGenerator, getGeneratorProperties, setup, setup, tearDown, write
-
Constructor Details
-
ReferenceEntityTest
public ReferenceEntityTest()
-
-
Method Details
-
testRequiredParentChildReferences
Test that the references between parent and child are written in the correct order.- Throws:
IOException- if the generator throws one
-