From 3f5c3b174777c4d09863c5fd8e4b10f401720b53 Mon Sep 17 00:00:00 2001 From: rstoyanchev Date: Mon, 18 Dec 2023 15:32:18 +0000 Subject: [PATCH] Fix checkstyle violation See gh-31711 --- .../web/bind/support/DefaultDataBinderFactoryTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-web/src/test/java/org/springframework/web/bind/support/DefaultDataBinderFactoryTests.java b/spring-web/src/test/java/org/springframework/web/bind/support/DefaultDataBinderFactoryTests.java index 1572c81cd4bc..a323acf77c71 100644 --- a/spring-web/src/test/java/org/springframework/web/bind/support/DefaultDataBinderFactoryTests.java +++ b/spring-web/src/test/java/org/springframework/web/bind/support/DefaultDataBinderFactoryTests.java @@ -31,8 +31,8 @@ import org.springframework.web.testfixture.servlet.MockHttpServletRequest; import static org.assertj.core.api.Assertions.assertThat; -import static org.mockito.Mockito.mock; -import static org.mockito.Mockito.when; +import static org.mockito.BDDMockito.mock; +import static org.mockito.BDDMockito.when; /** * Unit tests for {@link DefaultDataBinderFactory}.