30 lines
444 B
Twig
30 lines
444 B
Twig
![]() |
<?php
|
||
|
|
||
|
namespace Drupal\Tests\{{ machine_name }}\Unit;
|
||
|
|
||
|
use Drupal\Tests\UnitTestCase;
|
||
|
|
||
|
/**
|
||
|
* Test description.
|
||
|
*
|
||
|
* @group {{ machine_name }}
|
||
|
*/
|
||
|
class {{ class }} extends UnitTestCase {
|
||
|
|
||
|
/**
|
||
|
* {@inheritdoc}
|
||
|
*/
|
||
|
protected function setUp() {
|
||
|
parent::setUp();
|
||
|
// @TODO: Mock required classes here.
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Tests something.
|
||
|
*/
|
||
|
public function testSomething() {
|
||
|
$this->assertTrue(TRUE, 'This is TRUE!');
|
||
|
}
|
||
|
|
||
|
}
|