ContractParameter { public ContractParameterType getParamType() { return paramType; } protected  ContractParameter();  ContractParameter(String name, ContractParameterType paramType, Object value); protected  ContractParameter(String name, ContractParameterType paramType); private  ContractParameter(ContractParameterType paramType, Object value); static ContractParameter string(String value); static ContractParameter array(List<ContractParameter> params); static ContractParameter array(ContractParameter... params); static ContractParameter byteArray(byte[] byteArray); static ContractParameter byteArray(String hexString); static ContractParameter byteArrayFromString(String value); static ContractParameter signature(String signatureHexString); static ContractParameter signature(byte[] signature); static ContractParameter bool(boolean bool); static ContractParameter integer(int integer); static ContractParameter integer(BigInteger integer); static ContractParameter hash160(ScriptHash hash); static ContractParameter hash256(String hashHexString); static ContractParameter hash256(byte[] hash); static ContractParameter publicKey(byte[] publicKey); String getParamName(); ContractParameterType getParamType(); Object getValue(); @Override boolean equals(Object o); @Override int hashCode();  }
@Test public void testGetParamType() { assertThat(contractParameter.getParamType(), Is.is(ContractParameterType.STRING)); }