function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Angela Skenderi 2Angela Skenderi 2 

"This class name's value is invalid: : mw2.HMRC_TestNICategoryA_22_23. Provide the name of an Apex class that has test methods.

wanted to know why this comes up even though the class name value exists?
SwethaSwetha (Salesforce Developers) 
HI Angela ,

The error message "This class name's value is invalid" typically occurs when there is an issue with the format or naming convention of the Apex class name.

> Can you confirm that the class name does not exceed the maximum length of 40 characters.
> Also, check if the class name conflicts with any existing namespaces or package names. If so, choose a different name that does not conflict.

If this information helps, please mark the answer as best. Thank you