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

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