title: Hyperledger fabric 2.3 unit testing
body: <p>I'm new to hyperledger fabric and I'm trying to write unit tests for my chaincode. Im using version 2.3 with the contract.api for writing my chaincode. Now i try to unit test this but all the resources i find are outdated and use the deprecated shimtest or deprecated shim versions.</p>
  <p>What is the correct  up to date method of unit testing chaincode? Is there a example or tutorial i can follow? I did take a look at the hyperledger fabric examples. They refer to a ChaincodeStubInterface, but there is no further explanation on how to use this. I also noticed that many (recent) examples have a mock folder with generated files in it, that they use for their tests. But how these get generated, I have no clue.</p>
  <p>Help is much appreciated!</p>