@Test(expected = RuntimeException.class)
public void testBuildFunctionConstantInvalid() throws Exception {

    AbiDefinition functionDefinition = new AbiDefinition(
            true,
            Arrays.asList(
                    new AbiDefinition.NamedType("param", "uint8")),
            "functionName",
            Collections.emptyList(),
            "type",
            false);
    solidityFunctionWrapper.buildFunction(functionDefinition);
}