/**
* Tests the properties() method.
*/
public function testProperties() { $element =
[ '#property1' => 'property1',
'#property2' => 'property2',
'property3' => 'property3',
0 =>
[],
];
$properties = Element::
properties($element);
$this->
assertSame(['#property1', '#property2'
],
$properties);
} /**
* Tests the child() method.
*/
public function testChild() { $this->
assertFalse(Element::
child('#property'
));
$this->
assertTrue(Element::
child('property'
));
$this->
assertTrue(Element::
child('property#'
));
}