Example #1
0
 function testCurryingOptional()
 {
     $one = 'one';
     $two = 2;
     $three = 'three';
     ob_start();
     $block = new PartBlock($this->multi, $one);
     $block->set('third', $three)->draw($two);
     $content = ob_get_clean();
     $this->assertEquals('onethreeonethree', $content);
 }