Skip to content

Commit e05d4f2

Browse files
committed
Merge branch '6.2.x'
2 parents 69ed984 + c6a9aa5 commit e05d4f2

File tree

37 files changed

+109
-119
lines changed

37 files changed

+109
-119
lines changed

spring-aop/src/test/java/org/springframework/aop/interceptor/AsyncExecutionInterceptorTests.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,12 @@
2727
import org.springframework.core.task.AsyncTaskExecutor;
2828

2929
import static org.assertj.core.api.Assertions.assertThat;
30+
import static org.mockito.ArgumentMatchers.any;
3031
import static org.mockito.BDDMockito.given;
31-
import static org.mockito.Mockito.any;
3232
import static org.mockito.Mockito.mock;
3333
import static org.mockito.Mockito.spy;
3434
import static org.mockito.Mockito.verify;
3535

36-
3736
/**
3837
* Tests for {@link AsyncExecutionInterceptor}.
3938
*

spring-core/src/test/java/org/springframework/core/log/CompositeLogTests.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 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.
@@ -21,11 +21,10 @@
2121
import org.apache.commons.logging.Log;
2222
import org.junit.jupiter.api.Test;
2323

24-
import static org.mockito.BDDMockito.when;
2524
import static org.mockito.Mockito.mock;
2625
import static org.mockito.Mockito.verify;
2726
import static org.mockito.Mockito.verifyNoMoreInteractions;
28-
27+
import static org.mockito.Mockito.when;
2928

3029
/**
3130
* Tests for {@link CompositeLog}.

spring-expression/src/test/java/org/springframework/expression/spel/IndexingTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 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.
@@ -57,8 +57,8 @@
5757
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
5858
import static org.mockito.ArgumentMatchers.any;
5959
import static org.mockito.ArgumentMatchers.eq;
60-
import static org.mockito.BDDMockito.doThrow;
6160
import static org.mockito.BDDMockito.given;
61+
import static org.mockito.Mockito.doThrow;
6262
import static org.mockito.Mockito.mock;
6363
import static org.mockito.Mockito.times;
6464
import static org.mockito.Mockito.verify;

spring-jdbc/src/test/java/org/springframework/jdbc/core/StatementCreatorUtilsTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 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.
@@ -38,8 +38,8 @@
3838

3939
import static org.assertj.core.api.Assertions.assertThat;
4040
import static org.junit.jupiter.api.Named.named;
41-
import static org.mockito.BDDMockito.doThrow;
4241
import static org.mockito.BDDMockito.given;
42+
import static org.mockito.Mockito.doThrow;
4343
import static org.mockito.Mockito.mock;
4444
import static org.mockito.Mockito.never;
4545
import static org.mockito.Mockito.verify;

spring-jdbc/src/test/java/org/springframework/jdbc/datasource/DataSourceUtilsTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2023 the original author or authors.
2+
* Copyright 2002-2025 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.
@@ -25,8 +25,8 @@
2525
import org.springframework.jdbc.CannotGetJdbcConnectionException;
2626

2727
import static org.assertj.core.api.Assertions.assertThatThrownBy;
28-
import static org.mockito.BDDMockito.when;
2928
import static org.mockito.Mockito.mock;
29+
import static org.mockito.Mockito.when;
3030

3131
/**
3232
* Tests for {@link DataSourceUtils}.

spring-jdbc/src/test/java/org/springframework/jdbc/datasource/ShardingKeyDataSourceAdapterTests.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 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.
@@ -27,10 +27,10 @@
2727
import org.junit.jupiter.api.Test;
2828

2929
import static org.assertj.core.api.Assertions.assertThat;
30-
import static org.mockito.BDDMockito.RETURNS_DEEP_STUBS;
3130
import static org.mockito.BDDMockito.given;
32-
import static org.mockito.BDDMockito.mock;
33-
import static org.mockito.BDDMockito.when;
31+
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
32+
import static org.mockito.Mockito.mock;
33+
import static org.mockito.Mockito.when;
3434

3535
/**
3636
* Tests for {@link ShardingKeyDataSourceAdapter}.

spring-jdbc/src/test/java/org/springframework/jdbc/datasource/init/ResourceDatabasePopulatorTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 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.
@@ -22,7 +22,7 @@
2222

2323
import static org.assertj.core.api.Assertions.assertThat;
2424
import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException;
25-
import static org.mockito.BDDMockito.mock;
25+
import static org.mockito.Mockito.mock;
2626

2727
/**
2828
* Tests for {@link ResourceDatabasePopulator}.

spring-jdbc/src/test/java/org/springframework/jdbc/support/SqlArrayValueTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2023 the original author or authors.
2+
* Copyright 2002-2025 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,8 +24,8 @@
2424
import org.junit.jupiter.api.Test;
2525

2626
import static org.mockito.BDDMockito.given;
27-
import static org.mockito.BDDMockito.mock;
28-
import static org.mockito.BDDMockito.verify;
27+
import static org.mockito.Mockito.mock;
28+
import static org.mockito.Mockito.verify;
2929

3030
/**
3131
* Tests for {@link SqlArrayValue}.

spring-r2dbc/src/test/java/org/springframework/r2dbc/connection/DelegatingConnectionFactoryTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 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.
@@ -22,8 +22,8 @@
2222
import reactor.core.publisher.Mono;
2323

2424
import static org.assertj.core.api.Assertions.assertThat;
25-
import static org.mockito.BDDMockito.mock;
26-
import static org.mockito.BDDMockito.when;
25+
import static org.mockito.Mockito.mock;
26+
import static org.mockito.Mockito.when;
2727

2828
/**
2929
* Tests for {@link DelegatingConnectionFactory}.

spring-r2dbc/src/test/java/org/springframework/r2dbc/connection/R2dbcTransactionManagerTests.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 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.
@@ -46,13 +46,13 @@
4646
import static org.mockito.ArgumentMatchers.any;
4747
import static org.mockito.ArgumentMatchers.anyBoolean;
4848
import static org.mockito.ArgumentMatchers.anyString;
49-
import static org.mockito.BDDMockito.inOrder;
50-
import static org.mockito.BDDMockito.mock;
51-
import static org.mockito.BDDMockito.never;
52-
import static org.mockito.BDDMockito.reset;
53-
import static org.mockito.BDDMockito.verify;
54-
import static org.mockito.BDDMockito.verifyNoMoreInteractions;
55-
import static org.mockito.BDDMockito.when;
49+
import static org.mockito.Mockito.inOrder;
50+
import static org.mockito.Mockito.mock;
51+
import static org.mockito.Mockito.never;
52+
import static org.mockito.Mockito.reset;
53+
import static org.mockito.Mockito.verify;
54+
import static org.mockito.Mockito.verifyNoMoreInteractions;
55+
import static org.mockito.Mockito.when;
5656

5757
/**
5858
* Tests for {@link R2dbcTransactionManager}.

0 commit comments

Comments
 (0)