how to cover dml exception in catch block in salesforce test class code example
Example: test class for wrapper class in salesforce
InlineCtrl.WrapperMethod testWrap=new InlineCtrl.WrapperMethod(o,selected=false,index=1,editble=false);
InlineCtrl.WrapperMethod testWrap=new InlineCtrl.WrapperMethod(o,selected=false,index=1,editble=false);