public void TestDelState() { ChaincodeStub stub = new ChaincodeStub("myc", "txId", handler.Object, new List <ByteString>(), null); stub.DelState("key"); handler.Verify((a) => a.DeleteStateAsync("myc", "txId", "", "key", token)); }