I have 100% coverage for AnimalLocatoor when I run my test cases but while checking the challenge I am getting this error.
Challenge not yet complete in My Trailhead Playground 1
Executing the 'getAnimalNameById' method on 'AnimalLocator' failed. Make sure the method exists with the name 'getAnimalNameById', is public and static, accepts an Integer, and returns a String.
6 answers
Hi,
Go through this link: https://developer.salesforce.com/forums/?id=906F0000000MIjRIAW
I hope it will Help you. If you find your Solution then mark this as the Best answer.
Best regards
Piyush Singhal