3 final class PhabricatorAphrontViewTestCase
extends PhabricatorTestCase
{
5 public function testHasChildren() {
6 $view = new AphrontNullView();
7 $this->assertFalse($view->hasChildren());
16 foreach ($values as $value) {
17 $view->appendChild($value);
18 $this->assertFalse($view->hasChildren());
21 $view->appendChild('!');
22 $this->assertTrue($view->hasChildren());