public void testDeleteEchoFirst() throws Exception {
String str = "<?php echo $a, $b , $c; ?>";
String expected = "<?php echo $b , $c; ?>";
parseAndCompare(str, expected, new ICodeManiplator() {
public void manipulate(Program program) {
EchoStatement statement = (EchoStatement) program.statements()
.get(0);
statement.expressions().remove(0);
}
});
}