VerificationScript extends NeoSerializable { @Override public int getSize() { return IOUtils.getVarSize(this.script.length) + this.script.length; } VerificationScript();  VerificationScript(byte[] script);  VerificationScript(ECPublicKey publicKey);  VerificationScript(List<ECPublicKey> publicKeys, int signingThreshold); byte[] getScript(); @Override byte[] toArray(); ScriptHash getScriptHash(); @Override int getSize(); int getSigningThreshold(); int getNrOfAccounts(); boolean isSingleSigScript(); boolean isMultiSigScript(); List<ECPublicKey> getPublicKeys(); @Override void deserialize(BinaryReader reader); @Override void serialize(BinaryWriter writer); @Override boolean equals(Object o); @Override int hashCode();  }
@Test public void getSize() { byte[] script = Numeric.hexStringToByteArray("" + "147e5f3c929dd830d961626551dbea6b70e4b2837ed2fe9089eed2072ab3a655" + "523ae0fa8711eee4769f1913b180b9b3410bbb2cf770f529c85f6886f22cbaaf"); InvocationScript s = new InvocationScript(script); assertThat(s.getSize(), is(1 + 64)); }