initialize(str);
List<FunctionInvocation> invocations = getAllOfType(program,
FunctionInvocation.class);
Assert.assertTrue("Unexpected list size.", invocations.size() == 1);
FunctionName functionName = invocations.get(0).getFunctionName();
functionName.setName(ast.newIdentifier("boobo"));
rewrite();
checkResult("<?php boobo(); ?>");
}