thread.start();
tm.begin();
Transaction t = tm.getTransaction();
cs.doSomethingLong(); // 5s, so prov should be disposed during this time and under becomes invalid
Assert.assertEquals(ComponentInstance.INVALID, under.getState());
Assert.assertEquals(Status.STATUS_MARKED_ROLLBACK, t.getStatus());