public void TestTestCall()
        {
            TestNativeContract testNativeContract = new TestNativeContract();
            ApplicationEngine  engine             = testNativeContract.TestCall("System.Blockchain.GetHeight", 0);

            engine.ResultStack.Should().BeEmpty();
        }
Example #2
0
        public void TestTestCall()
        {
            var snapshot             = TestBlockchain.GetTestSnapshot();
            ApplicationEngine engine = testNativeContract.TestCall(snapshot, "System.Blockchain.GetHeight", 0);

            engine.ResultStack.Should().BeEmpty();
        }