I have a base class that has a protected method called “validateOptPwd”. This gets inherited in a test and then called via PrivateMethodTester.
val validateOptPwdMethod: PrivateMethod[Future[xException]] =
PrivateMethod[Future[xException]](Symbol("validateOptPwd"))
The error I get is:
Can't find a private method named: ymbol(validateOptPwd)
The fact that it complains about “ymbol” and misses the letter “S” suggest to me that maybe some other framework I use, breaks stuff. Some json perhaps (?).
I am also upgrading our project from scala 2.11 to 2.13 which demands other frameworks to be upgraded.
I was wondering. Do you guys know if there is a framework on which scalatest depends that may cause this?
Thanks.
I created separate examples of classes and child classes but it didn’t work in any of the cases. This, to me, means that the error may be caused by other frameworks.