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
The test below fails with a message like:
IllegalArgumentException: No injectable value available for parameter "foo" in constructor Bar#Bar(String value)
where the @Injectable name "foo" was erroneously used for parameter "value".
static class Bar { String value; Bar(String value) { this.value = value; } } @Tested Bar bar; @Test public void test(@Injectable String foo) { // ... }
The text was updated successfully, but these errors were encountered:
jmockit/jmockit1@3ef2a18
rliesenfeld
No branches or pull requests
The test below fails with a message like:
IllegalArgumentException: No injectable value available for parameter "foo" in constructor Bar#Bar(String value)
where the @Injectable name "foo" was erroneously used for parameter "value".
The text was updated successfully, but these errors were encountered: