@Test
public void testBuilderWithListArgs() {

  final List<Object> args = asList(new Object[]{1, 2, 3});
  final ContractDefinition expected = new ContractDefinition(payload, args, Aer.ONE);
  final ContractDefinition actual = ContractDefinition.newBuilder()
      .encodedContract(payload)
      .constructorArgs(args)
      .amount(Aer.ONE)
      .build();
  assertEquals(expected, actual);
}