Esempio n. 1
0
 /**
  * @return	null
  */
 public function testGetAttribute()
 {
     $this->assertTrue($this->type->getAttribute('unsigned'));
     /* attr we know not to be there */
     $this->assertNull($this->type->getAttribute('no-attr'));
     /* make sure default work correctly */
     $this->assertEquals('default', $this->type->getAttribute('no-attr', 'default'), 'returns second param when first param is not found');
 }