/** * @expectedException \Exception * expectedExceptionMessage Number of columns should be 1-16 */ public function testColumnsException() { $object = new RichText(); $object->setColumns(1000); }