Skip to content

Commit bc87c27

Browse files
committed
Use MockitoJUnitRunner from Mockito 2's preferred location
Issue: SPR-14880
1 parent ee71e7b commit bc87c27

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

spring-test/src/test/java/org/springframework/test/jdbc/JdbcTestUtilsTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2014 the original author or authors.
2+
* Copyright 2002-2017 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@
1919
import org.junit.Test;
2020
import org.junit.runner.RunWith;
2121
import org.mockito.Mock;
22-
import org.mockito.runners.MockitoJUnitRunner;
22+
import org.mockito.junit.MockitoJUnitRunner;
2323

2424
import org.springframework.jdbc.core.JdbcTemplate;
2525

spring-test/src/test/java/org/springframework/test/web/servlet/htmlunit/DelegatingWebConnectionTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2016 the original author or authors.
2+
* Copyright 2002-2017 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -31,7 +31,7 @@
3131
import org.junit.Test;
3232
import org.junit.runner.RunWith;
3333
import org.mockito.Mock;
34-
import org.mockito.runners.MockitoJUnitRunner;
34+
import org.mockito.junit.MockitoJUnitRunner;
3535

3636
import org.springframework.stereotype.Controller;
3737
import org.springframework.test.web.servlet.MockMvc;

spring-test/src/test/java/org/springframework/test/web/servlet/htmlunit/webdriver/WebConnectionHtmlUnitDriverTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2016 the original author or authors.
2+
* Copyright 2002-2017 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -24,7 +24,7 @@
2424
import org.junit.rules.ExpectedException;
2525
import org.junit.runner.RunWith;
2626
import org.mockito.Mock;
27-
import org.mockito.runners.MockitoJUnitRunner;
27+
import org.mockito.junit.MockitoJUnitRunner;
2828

2929
import static org.hamcrest.CoreMatchers.equalTo;
3030
import static org.hamcrest.MatcherAssert.*;

0 commit comments

Comments
 (0)