Skip to content

Commit ae52a2b

Browse files
committed
Change logging from INFO to TRACE in test
1 parent 7295322 commit ae52a2b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

driver-core/src/test/unit/com/mongodb/internal/mockito/InsufficientStubbingDetectorDemoTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,20 @@ void beforeEach() {
4343
@Test
4444
void mockObjectWithDefaultAnswer() {
4545
ReadBinding binding = Mockito.mock(ReadBinding.class);
46-
LOGGER.info("", assertThrows(NullPointerException.class, () -> operation.execute(binding)));
46+
LOGGER.trace("", assertThrows(NullPointerException.class, () -> operation.execute(binding)));
4747
}
4848

4949
@Test
5050
void mockObjectWithThrowsException() {
5151
ReadBinding binding = Mockito.mock(ReadBinding.class,
5252
new ThrowsException(new AssertionError("Insufficient stubbing for " + ReadBinding.class)));
53-
LOGGER.info("", assertThrows(AssertionError.class, () -> operation.execute(binding)));
53+
LOGGER.trace("", assertThrows(AssertionError.class, () -> operation.execute(binding)));
5454
}
5555

5656
@Test
5757
void mockObjectWithInsufficientStubbingDetector() {
5858
ReadBinding binding = MongoMockito.mock(ReadBinding.class);
59-
LOGGER.info("", assertThrows(AssertionError.class, () -> operation.execute(binding)));
59+
LOGGER.trace("", assertThrows(AssertionError.class, () -> operation.execute(binding)));
6060
}
6161

6262
@Test

0 commit comments

Comments
 (0)