You need to sign in to do that
Don't have an account?
pramod pallewad
how to cover apexpages.hasmessage in test class
public boolean hasMessages {
get {
return ApexPages.hasMessages();
}
get {
return ApexPages.hasMessages();
}
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
Here is an example for you i created this one which return apexpages.hasMessages();
VF Page: Controller Class: Test_Class: I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Ajay Dubedi
www.ajaydubedi.com