Skip to content

Beispiel JUnit Test

all4one edited this page Apr 12, 2017 · 1 revision
@UsingDataSet(value = { prepare.json })
public class ProcessFacadeIT {

    @Rule
    public DbUnitRule dbunitRule = new DbUnitRule(Persistence.createEntityManagerFactory("pu").getConnection());

    @Test
    @ShouldMatchDataSet(value = { "ProcessAfterRemove.json" }
    public void addProcess() {
        ...
    }

}
Clone this wiki locally