예제 #1
0
 function testUsesIsChainable3()
 {
     $b = new Builder();
     $b->uses('Middleware 1')->uses('Middleware 2')->uses('Middleware 3');
     $this->assertEquals(array(array('Middleware 1', array()), array('Middleware 2', array()), array('Middleware 3', array())), $b->getStack());
 }