Simulate failed transaction using StoreKitTest

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

Code Block
testSession.failTransactionsEnabled = true
testSession.failureError = SKError.Code.unknown

after that I call:

Code Block
testSession.buyProduct(productIdentifier: productIdentifier)

I assumed that 
Code Block
func paymentQueue(_ queue: SKPaymentQueue, updatedTransactions transactions: [SKPaymentTransaction]) 

delegate method should be called with transactionState failed. Unfortunately the delegate method is not called, any ideas why?

I was able to simulate purchased transaction using StoreKitTest. I am using Xcode Version 12.0 beta 6.
Simulate failed transaction using StoreKitTest
 
 
Q