assertEquals("foo", functionFoo.getName());
ReturnStatement returnStatement = functionFoo.getChild(0);
assertNotNull(returnStatement);
List<ParameterInfo> parameters = functionFoo.getParameters();
assertEquals(2, parameters.size());
ParameterInfo parameterA = parameters.get(0);
assertEquals("a", parameterA.getName());
assertEquals("int", parameterA.getType().toString());
ParameterInfo parameterB = parameters.get(1);
assertEquals("b", parameterB.getName());
assertEquals("int", parameterB.getType().toString());
}