BUG 0000 "PHPUNIT instantiation classXmlForm_Field_popupOptionTest.php" SOLVED
- Instantiation of the class - Formatting file to PSR2
This commit is contained in:
@@ -57,7 +57,7 @@ class classXmlForm_Field_popupOptionTest extends PHPUnit_Framework_TestCase
|
|||||||
public function testgetEvents()
|
public function testgetEvents()
|
||||||
{
|
{
|
||||||
$methods = get_class_methods($this->object);
|
$methods = get_class_methods($this->object);
|
||||||
$this->assertTrue( in_array('getEvents', $methods ), 'exists method getEvents' );
|
$this->assertTrue(in_array('getEvents', $methods ), 'exists method getEvents' );
|
||||||
$r = new ReflectionMethod('XmlForm_Field_popupOption', 'getEvents');
|
$r = new ReflectionMethod('XmlForm_Field_popupOption', 'getEvents');
|
||||||
$params = $r->getParameters();
|
$params = $r->getParameters();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user