コード例 #1
0
 /**
  * This used to determine if the sql string will be returned all uppercase 
  * or all lowercase
  *
  * @return	null
  */
 public function testIsEnableDisableUpperCase()
 {
     $this->assertFalse($this->constraint->isUpperCase());
     $this->assertSame($this->constraint, $this->constraint->enableUpperCase(), 'uses a fluent interface');
     $this->assertTrue($this->constraint->isUpperCase());
     $this->assertSame($this->constraint, $this->constraint->disableUppercase(), 'uses a fluent interface');
     $this->assertFalse($this->constraint->isUpperCase());
 }