/** * FieldList::forTemplate() for an action list returns a concatenation of Field values. * Internally, this works by having FormAction::FieldHolder return just the field, but it's an important * use-case to test. */ public function testForTemplateForActionList() { $set = new FieldList($a = new FormAction('A'), $b = new FormAction('B')); $this->assertEquals($a->Field() . $b->Field(), $set->forTemplate()); }