I am trying to use StoreKitTest to simulate .failed transaction in my unit tests. For the test session I set:
.failed
testSession.failTransactionsEnabled = t