// should have found two functions "echotest" and "echotest2"
// and the log functions (8)
assertEquals("Should have found two functions", 10, target.getFunctions().size());
{
Function f = getFunction("echotest", target);
assertNotNull("Should have found function 'echotest'", f);
assertTrue("echotest should be an rValue", f.isRValue());
}
{
Function f = getFunction("echotest2", target);
assertNotNull("Should have found function 'echotest2'", f);
assertFalse("echotest2 should not be an rValue", f.isRValue());
}
}
finally {
helper.tearDown();