Esempio n. 1
0
 /**
  * This controls the attribute used to determine if the sql string
  * will be returned all uppercase or all lowercase
  *
  * @return	null
  */
 public function testIsEnableDisableUpperCase()
 {
     $this->assertFalse($this->type->isUpperCase());
     $this->assertSame($this->type, $this->type->enableUpperCase(), 'uses a fluent interface');
     $this->assertTrue($this->type->isUpperCase());
     $this->assertSame($this->type, $this->type->disableUppercase(), 'uses a fluent interface');
     $this->assertFalse($this->type->isUpperCase());
 }