Open
Description
A nice feature would be to allow mocking calls,
For example, my contract needs to call another contract on the blockchain like shown below,
I want to be able to set up a test to say something like:
engine.Mock<Contract>(c => c.Call(params).Return(true);
engine.ExecuteScript<MyContract>(c => c.DoSomething(otherParams));
So I want to be able to mock the Neo.SmartContract.Framework.Services Contract class in this instance
Another nice feature would be to be able to mock datastorages as well.
Metadata
Metadata
Assignees
Labels
No labels