DsServiceTest.php in Display Suite 8.3
Same filename and directory in other branches
Namespace
Drupal\Tests\ds\UnitFile
tests/src/Unit/DsServiceTest.phpView source
<?php
namespace Drupal\Tests\ds\Unit;
use Drupal\ds\Ds;
use Drupal\Tests\UnitTestCase;
/**
* @coversDefaultClass \Drupal\ds\Ds
* @group ds
*/
class DsServiceTest extends UnitTestCase {
/**
* @covers ::getLayouts
*/
public function testMissingLayoutService() {
$this
->assertFalse(\Drupal::hasService('plugin.manager.core.layout'));
$this
->assertSame([], Ds::getLayouts());
}
}
Classes
Name![]() |
Description |
---|---|
DsServiceTest | @coversDefaultClass \Drupal\ds\Ds @group ds |