Source of file AnnotateClassInfoTest.php
Size: 0,604 Bytes - Last Modified: 2021-12-23T10:24:49+00:00
/var/www/docs.ssmods.com/process/src/tests/unit/AnnotateClassInfoTest.php
123456789101112131415161718192021222324252627 | <?php namespace SilverLeague\IDEAnnotator\Tests; use PHPUnit_Framework_TestCase; use SilverLeague\IDEAnnotator\Helpers\AnnotateClassInfo; use SilverStripe\Dev\SapphireTest; /** * Class DataObjectAnnotatorTest * * @mixin PHPUnit_Framework_TestCase */ class AnnotateClassInfoTest extends SapphireTest { public function testItGetsTheCorrectModuleName() { $classInfo = new AnnotateClassInfo(TestAnnotatorPage::class); $this->assertEquals('silverleague/ideannotator', $classInfo->getModuleName()); } public function tearDown() { parent::tearDown(); } } |