VerificationScript extends NeoSerializable { public int getNrOfAccounts() { return getPublicKeys().size(); } 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(expected = ScriptFormatException.class) public void throwOnInvalidScriptFormat3() { VerificationScript script = new VerificationScript( Numeric.hexStringToByteArray("0123456789abcdef")); script.getNrOfAccounts(); }