Hoa central
Public Member Functions | List of all members
Hoa\Ruler\Test\Unit\Bug\Issue Class Reference
Inheritance diagram for Hoa\Ruler\Test\Unit\Bug\Issue:

Public Member Functions

 case_github_50 ()
 
- Public Member Functions inherited from Hoa\Test\Unit\Suite
 __construct ()
 
 getTestedClassName ()
 
 getTestedClassNamespace ()
 
 beforeTestMethod ($methodName)
 

Detailed Description

Class .

Test suite of detected issues.

Definition at line 50 of file Issue.php.

Member Function Documentation

Hoa\Ruler\Test\Unit\Bug\Issue::case_github_50 ( )

Definition at line 52 of file Issue.php.

53  {
54  $this
55  ->given(
56  $ruler = new LUT(),
57  $rule = 'variable',
58  $context = new LUT\Context(),
59  $context['variable'] = 'file'
60  )
61  ->when(function () use ($ruler, $rule, $context) {
62  $ruler->assert($rule, $context);
63  })
64  ->error()
65  ->notExists();
66  }

The documentation for this class was generated from the following file: