Class ReferenceEntityTest

java.lang.Object
org.fastnate.generator.test.AbstractEntitySqlGeneratorTest
org.fastnate.generator.test.reference.ReferenceEntityTest

public class ReferenceEntityTest extends AbstractEntitySqlGeneratorTest
Test that references between entities are written correctly.
Author:
Tobias Liefke
  • Constructor Details

    • ReferenceEntityTest

      public ReferenceEntityTest()
  • Method Details

    • testRequiredParentChildReferences

      @Test public void testRequiredParentChildReferences() throws IOException
      Test that the references between parent and child are written in the correct order.
      Throws:
      IOException - if the generator throws one