Example #1
0
 public function testCompileFalse()
 {
     $stm = $this->getMockForAbstractClass('Mason\\Statement', array(), '', true, true, true, array('compile'));
     $clause = new Null($stm);
     $actual = $clause->__toString(false);
     $this->assertEquals('NULL', $actual);
 }
Example #2
0
 public function __get($var)
 {
     return Null::singleton();
 }