open static fun flagForCommit(): Unit
Flag the current test-managed transaction for commit.
Invoking this method will not end the current transaction. Rather, the value of this flag will be used to determine whether or not the current test-managed transaction should be rolled back or committed once it is ended.
IllegalStateException - if a transaction is not active for the current test