You need to sign in to do that
Don't have an account?
![developer sri developer sri](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
Test class for Enum class
Hi.. Can someone suggest me writing test class for below enum class
my Enum class is :
public enum ProductType {
Primary,
Luxury,
Sedan
}
Thank you
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
Hi.. Can someone suggest me writing test class for below enum class
my Enum class is :
public enum ProductType {
Primary,
Luxury,
Sedan
}
Thank you
Hi,
Below is the format to write test class for enum class.
Test Class:
Important :
Hit Kudos if this provides you with useful information and if this is what you where looking for then please mark it as a solution for other benefits.
Thank You,
Hitesh Patel
SFDC Certified Developer & Administrator & Advanced Administrator & Sales cloud consultant
My Blog:- http://mrjavascript.blogspot.in/
Thanks for quick reply Hithesh!!!
I tried with your code and it got saved succesfully and method passed successfully.
And when I am seeing the code coverage for the enum class, it is showing 0%. I don't know why!!!!
Can you please suggest me the solution.
Thank you!!!!!!!!!