When testing class MyClass1 whose constructor accepts a parameter of type MyClass2, I created a test provider for that parameter that reads: "return new MyClass2();" When JavaSpec checks the code, it gives the error "MyClass2 not found in type declaration". MyClass2 is in the same package and directory as MyClass1, what's the problem?