stub = $this->getMockForAbstractClass('PMA\libraries\properties\plugins\PluginPropertyItem'); } /** * tearDown for test cases * * @return void */ public function tearDown() { unset($this->stub); } /** * Test for PMA\libraries\properties\plugins\PluginPropertyItem::getPropertyType * * @return void */ public function testGetPropertyType() { if ((defined('HHVM_VERSION') && (version_compare(constant('HHVM_VERSION'), '3.8', 'lt'))) ) { $this->markTestSkipped('Due to a bug in early versions of HHVM, this test cannot be completed.'); } $this->assertEquals( "plugin", $this->stub->getPropertyType() ); } }