@Test
public void testInvokeScriptWithWitness() throws Exception {

    neow3j.invokeScript("10c00c08646563696d616c730c1425059ecb4878d3a875f91c51ceded330d4575fde41627d5b52",
            Signer.calledByEntry(new ScriptHash("0xcc45cc8987b0e35371f5685431e3c8eeea306722"))).send();
    verifyResult(
            "{\"jsonrpc\":\"2.0\",\"method\":\"invokescript\","
                    + "\"params\":["
                    +     "\"10c00c08646563696d616c730c1425059ecb4878d3a875f91c51ceded330d4575fde41627d5b52\","
                    +         "["
                    +             "{"
                    +                 "\"account\":\"cc45cc8987b0e35371f5685431e3c8eeea306722\","
                    +                 "\"scopes\":[\"CalledByEntry\"],"
                    +                 "\"allowedcontracts\":[],"
                    +                 "\"allowedgroups\":[]"
                    +             "}"
                    +         "]"
                    + "],\"id\":1}"
    );
}