@Test
public void shouldNotThrowErrorNotFeeDelegegatableOne() {

  final ContractAddress address = new ContractAddress(encodedAddress);
  final String version = randomUUID().toString();
  final String language = randomUUID().toString();
  final ContractFunction function = new ContractFunction(functionName, false, false, false);
  final List<ContractFunction> functions = new ArrayList<ContractFunction>();
  functions.add(function);
  final List<StateVariable> stateVariables = new ArrayList<StateVariable>();
  final ContractInterface contractInterface = ContractInterface.newBuilder()
      .address(address)
      .version(version)
      .language(language)
      .functions(functions)
      .stateVariables(stateVariables)
      .build();
  final ContractInvocation invocation = contractInterface.newInvocationBuilder()
      .function(functionName)
      .amount(Aer.ZERO)
      .delegateFee(false)
      .build();
  assertNotNull(invocation);
}