上QQ阅读APP看书,第一时间看更新
SHIM mocking
The SHIM package provides a comprehensive mocking model that can be used to test chaincodes. In our unit tests, we will use the MockStub type, which provides an implementation of ChaincodeStubInterface for unit-testing chaincodes.