/** * @expectedException \SxCore\Html\Exception\RuntimeException */ public function testSpawnChildFails() { $htmlElement = new HtmlElement('input'); $htmlElement->spawnChild('bacon'); }