     
     public function testShowNotFound():void {
       r.addEventListener("result", asyncHandler(function (e:ResultEvent, data:Object):void {
-            var p:Record = new Record;
-            p.setAttributes(e.result);
+            var p:Record = new Record(e.result);
 
             assertEquals('Record Not Found', p.message);
           }, 1500));

      
      rCheck.show(p.id);
    }
  }
}

    
    public function testUpdate():void {
      r.addEventListener("result", asyncHandler(verifyUpdateComplete, 1500));
      r.update(2, {post: {subject: "testFindAll #2 updated", body: "testFindAll #2 body updated"}});
    }

    private function verifyUpdateComplete(e:ResultEvent, data:Object):void {
      rCheck.addEventListener("result", asyncHandler(function (e:ResultEvent, data:Object):void {
            var p:Record = new Record(e.result);

            assertEquals('testFindAll #2 updated', p.subject);
            assertEquals('testFindAll #2 body updated', p.body);
