Merge remote-tracking branch 'github_troosan/support_for_xe_and_index_field' into develop
This commit is contained in:
commit
8318b412e9
@ -119,4 +119,16 @@ class FieldTest extends \PHPUnit_Framework_TestCase
|
||||
$object = new Field('PAGE');
|
||||
$object->setOptions(array('foo' => 'bar'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Test setText exception
|
||||
*
|
||||
* @expectedException \InvalidArgumentException
|
||||
* @expectedExceptionMessage Invalid text
|
||||
*/
|
||||
public function testSetTextException()
|
||||
{
|
||||
$object = new Field('XE');
|
||||
$object->setText(array());
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user