Hoa central
DynamicCallable.php
Go to the documentation of this file.
1 <?php
2 
37 namespace Hoa\Ruler\Test\Unit;
38 
39 use Hoa\Ruler\DynamicCallable as CUT;
40 use Hoa\Test;
41 
51 {
52  public function case_is_a_xcallable()
53  {
54  $this
55  ->when($dynamicCallable = new CUT(function () {}))
56  ->then
57  ->object($dynamicCallable)
58  ->isInstanceOf('Hoa\Core\Consistency\Xcallable');
59  }
60 }