@Test
public void shouldBeginTransaction() {

	EntityTransaction txn = JPA.instance.getDefaultConfig().getContext().getEntityManager().getTransaction();
	txn.commit();
	assertFalse(txn.isActive());
	DummyModel.beginTxn();
	assertTrue(txn.isActive());
}