view vendor/chi-teck/drupal-code-generator/templates/d8/test/unit.twig @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents a9cd425dd02b
children
line wrap: on
line source
<?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!');
  }

}