1
Using Classes in Unit Tests
AustinMcGowan (0)

I am trying to set up some Unit tests. I have a class called Cat and what I want me unit test to create some Cat objects. however I can't see to get this to work. The Cat class is in a file called Cat but the Unit test is giving an error saying it can't find symbol Cat.

You are viewing a single comment. View All
1
AustinMcGowan (0)

I figured out the answer to my problem.

My Cat file was called "Cat" instead of "Cat.java". Changing it to Cat.java has fixed all my problems.