File tree Expand file tree Collapse file tree
src/main/java/org/mockito/junit Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6868 * }
6969 * </code></pre>
7070 *
71- * If you would like to take advantage of Mockito JUnit runner features
71+ * If you would like to take advantage of Mockito JUnit runner features,
7272 * but you cannot use the runner there is a solution!
7373 * {@link MockitoSession} API is intended to offer cleaner tests and improved debuggability
7474 * to users that cannot use Mockito's built-in JUnit support (runner or the rule).
@@ -154,7 +154,7 @@ public MockitoJUnitRunner(Class<?> klass) throws InvocationTargetException {
154154 this (new StrictRunner (new RunnerFactory ().createStrict (klass ), klass ));
155155 }
156156
157- MockitoJUnitRunner (InternalRunner runner ) throws InvocationTargetException {
157+ MockitoJUnitRunner (InternalRunner runner ) {
158158 this .runner = runner ;
159159 }
160160
You can’t perform that action at this time.
0 commit comments