Example #1
0
 public function testGetAttributeNames()
 {
     $user = new User();
     $expected = array('approved', 'company_id', 'created_at', 'created_on', 'first_name', 'id', 'name', 'type', 'updated_at', 'updated_on');
     $this->assertEquals($expected, $user->attributeNames());
 }