public function testAccessor()
 {
     $author = new Author();
     $ret = $author->create(array('name' => 'Pedro', 'email' => '*****@*****.**', 'identity' => 'id', 'confirmed' => true));
     $this->assertResultSuccess($ret);
     $ret = $author->reload();
     $this->assertResultSuccess($ret);
     $this->assertEquals('Pedro', $author->getName());
     $this->assertEquals('*****@*****.**', $author->getEmail());
     $this->assertEquals(true, $author->getConfirmed());
     $ret = $author->delete();
     $this->assertResultSuccess($ret);
 }