@Test
public void getSize() {

    byte[] script = Numeric.hexStringToByteArray(""
            + "147e5f3c929dd830d961626551dbea6b70e4b2837ed2fe9089eed2072ab3a655"
            + "523ae0fa8711eee4769f1913b180b9b3410bbb2cf770f529c85f6886f22cbaaf");
    InvocationScript s = new InvocationScript(script);
    assertThat(s.getSize(), is(1 + 64)); // byte for script length and actual length.
}