parent::tearDown();
}
+ /**
+ * @expectedException PHPUnit_Framework_Error_Notice
+ * @expectedExceptionMessage given element name with space
+ * @covers Html::openElement
+ */
+ public function testOpenElement() {
+ Html::openElement( 'span id="x"' );
+ }
+
/**
* @covers Html::element
* @covers Html::rawElement
}
/**
- * Test for Html::expandAttributes()
* Please note it output a string prefixed with a space!
* @covers Html::expandAttributes
*/