Polishing: remove unnecessary code

This commit is contained in:
Simon Baslé
2024-08-07 16:57:52 +02:00
parent 52bc3cf5aa
commit 70e5af7d16

View File

@@ -122,9 +122,6 @@ public class MockitoTestExecutionListener extends AbstractTestExecutionListener
if (mocks instanceof MockitoSession session) {
session.finishMocking();
}
else if (mocks instanceof AutoCloseable closeable) {
closeable.close();
}
}
private boolean hasMockitoAnnotations(TestContext testContext) {