2 * SCJD assignment, URLyBird, Erik Brakkee.
3 * Candidate ID: sr1399267.
5 package org.wamblee.support.persistence.toplink;
7 import static junit.framework.Assert.*;
9 import org.dbunit.DataSourceDatabaseTester;
10 import org.dbunit.DatabaseTestCase;
11 import org.dbunit.IDatabaseTester;
13 import org.dbunit.dataset.ITable;
14 import org.dbunit.dataset.filter.ITableFilterSimple;
16 import org.junit.After;
17 import org.junit.Before;
18 import org.junit.Test;
20 import org.wamblee.support.persistence.DatabaseUtils;
21 import org.wamblee.support.persistence.JpaBuilder;
22 import org.wamblee.support.persistence.JpaBuilder.JpaUnitOfWork;
23 import org.wamblee.support.persistence.JpaTester;
24 import org.wamblee.support.persistence.MyEntityExampleTestBase;
26 import javax.persistence.EntityManager;
27 import javax.persistence.Persistence;
29 import javax.sql.DataSource;
33 * This class shows an example of how to test an entity using jpa.
35 public class MyEntityExampleTest extends MyEntityExampleTestBase {
36 // Empty, all tests are inherited