Skip to main content

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
0/9000