diff --git a/slf4j/src/test/java/com/google/common/flogger/backend/slf4j/Slf4jBackendLoggerTest.java b/slf4j/src/test/java/com/google/common/flogger/backend/slf4j/Slf4jBackendLoggerTest.java index ff861920..8c94050e 100644 --- a/slf4j/src/test/java/com/google/common/flogger/backend/slf4j/Slf4jBackendLoggerTest.java +++ b/slf4j/src/test/java/com/google/common/flogger/backend/slf4j/Slf4jBackendLoggerTest.java @@ -21,7 +21,6 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.verifyNoMoreInteractions; -import static org.mockito.Mockito.verifyZeroInteractions; import com.google.common.flogger.LogContext; import com.google.common.flogger.MetadataKey; @@ -109,7 +108,7 @@ public void testErrorHandling() { backend.log(data); fail("expected ParseException"); } catch (ParseException expected) { - verifyZeroInteractions(logger); + verifyNoMoreInteractions(logger); backend.handleError(expected, data); verify(logger) .error(