phpmyadmin/test/classes/Properties/Plugins/PluginPropertyItemTest.php
Maurício Meneghini Fauth f3b79d83c0
Add PHPUnit's Covers annotation on test classes
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-06-04 23:39:26 -03:00

44 lines
890 B
PHP

<?php
declare(strict_types=1);
namespace PhpMyAdmin\Tests\Properties\Plugins;
use PhpMyAdmin\Properties\Plugins\PluginPropertyItem;
use PhpMyAdmin\Tests\AbstractTestCase;
/**
* @covers \PhpMyAdmin\Properties\Plugins\PluginPropertyItem
*/
class PluginPropertyItemTest extends AbstractTestCase
{
/** @var PluginPropertyItem */
protected $stub;
/**
* Configures global environment.
*/
protected function setUp(): void
{
parent::setUp();
$this->stub = $this->getMockForAbstractClass(PluginPropertyItem::class);
}
/**
* tearDown for test cases
*/
protected function tearDown(): void
{
parent::tearDown();
unset($this->stub);
}
public function testGetPropertyType(): void
{
$this->assertEquals(
'plugin',
$this->stub->getPropertyType()
);
}
}