[FAB-15193] Rewrite mocks.
[FAB-15193] Rewrite mocks.

Change-Id: Ifbb34dddfd8da309ccb29811820eb9a86fc0f9ee
Signed-off-by: rickr <831934f0137f05a8f7f4b4635627f5c7a9a44992@gmail.com>

muralisrini/fabric,manish-sethi/fabric-sidedb,binhn/fabric,manish-sethi/fabric,muralisrini/fabric,hyperledger/fabric,muralisrini/fabric,jimthematrix/fabric,hyperledger/fabric,manish-sethi/fabric-sidedb,manish-sethi/fabric-sidedb,binhn/fabric,manish-sethi/fabric-sidedb,manish-sethi/fabric,stemlending/fabric,manish-sethi/fabric-sidedb,stemlending/fabric,manish-sethi/fabric-sidedb,stemlending/fabric,manish-sethi/fabric-sidedb,binhn/fabric,jimthematrix/fabric,stemlending/fabric