Skip to content

Commit af18a5f

Browse files
committed
refactor
1 parent f34fd7d commit af18a5f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/java/org/scm4j/vcs/GitVCSTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,13 +181,13 @@ public void testExceptions() throws Exception {
181181
params[i] = clazz.isPrimitive() ? 0: null;
182182
i++;
183183
}
184-
testException(eApi, m, params);
184+
testExceptionThrowing(eApi, m, params);
185185

186-
testException(eCommon, m, params);
186+
testExceptionThrowing(eCommon, m, params);
187187
}
188188
}
189189

190-
private void testException(Exception testException, Method m, Object[] params) throws Exception {
190+
private void testExceptionThrowing(Exception testException, Method m, Object[] params) throws Exception {
191191
Mockito.reset((GitVCS) vcs);
192192
Mockito.doThrow(testException).when((GitVCS) vcs).getLocalGit(mockedLWC);
193193
try {

0 commit comments

Comments
 (0)