Initial commit
This commit is contained in:
50
#pma/test/classes/properties/PropertyItemTest.php
Normal file
50
#pma/test/classes/properties/PropertyItemTest.php
Normal file
@ -0,0 +1,50 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/**
|
||||
* tests for PMA\libraries\properties\PropertyItem class
|
||||
*
|
||||
* @package PhpMyAdmin-test
|
||||
*/
|
||||
|
||||
/**
|
||||
* Tests for PMA\libraries\properties\PropertyItem class
|
||||
*
|
||||
* @package PhpMyAdmin-test
|
||||
*/
|
||||
class PropertyItemTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
protected $stub;
|
||||
|
||||
/**
|
||||
* Configures global environment.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function setup()
|
||||
{
|
||||
$this->stub = $this->getMockForAbstractClass('PMA\libraries\properties\PropertyItem');
|
||||
}
|
||||
|
||||
/**
|
||||
* tearDown for test cases
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function tearDown()
|
||||
{
|
||||
unset($this->stub);
|
||||
}
|
||||
|
||||
/**
|
||||
* Test for PMA\libraries\properties\PropertyItem::getGroup
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testGetGroup()
|
||||
{
|
||||
$this->assertEquals(
|
||||
null,
|
||||
$this->stub->getGroup()
|
||||
);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user