Exemplo n.º 1
0
 public function testOverridesHeleper()
 {
     $helper = new Helper();
     $options = array('helper' => $helper);
     $object = new QueryBuilder($options);
     $this->assertSame($helper, $object->getHelper());
 }
Exemplo n.º 2
0
 public function testItInitializesWithTheCorrectHelper()
 {
     $helper = new Helper();
     $options = array('helper' => $helper);
     $object = new QueryBuilder($options);
     $this->assertSame($helper, $object->getHelper());
 }