You are here

ExpectedExceptionUnitTest.inc in Coder 8.2

File

coder_sniffer/DrupalPractice/Test/Commenting/ExpectedExceptionUnitTest.inc
View source
<?php

class ExampleTest extends UnitTestCase {

  /**
   * Test 1.
   *
   * @expectedException TestException
   * @expectedExceptionCode 100
   * @expectedExceptionMessage Message here
   * @expectedExceptionMessageRegExp /.+/
   */
  public function test1() {
  }

}

Classes

Namesort descending Description
ExampleTest