-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot mock Param
because it is declared final, and IParam
is empty
#40
Comments
|
Both Param and IParam are marked as package private and IParam is deprecated. |
SMW looks like it can be migrated away from these (and I suspect SMW is the last user). Will give that a try. Semi-related: SemanticMediaWiki/SemanticMediaWiki#4171 |
SemanticMediaWiki/SemanticMediaWiki#4172 After that you should be able to just use |
"sane"... it has setters though :D Please slap 2013 Jeroen if you see him. |
For a test I tried to:
but it returns with "Class "ParamProcessor\Param" is declared "final" and cannot be mocked." then I tried
which returns "Trying to configure method "getName" which cannot be configured because it does not exist, has not been specified, is final, or is static".
In order to get going I ended up with:
The text was updated successfully, but these errors were encountered: