Skip to content

Commit c6e5cfe

Browse files
committed
Use consistent naming for Bean Override test classes
1 parent 3a1a0e6 commit c6e5cfe

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
* @since 6.2
3636
*/
3737
@SpringJUnitConfig
38-
public class TestBeanForByNameLookupIntegrationTests {
38+
public class TestBeanByNameLookupIntegrationTests {
3939

4040
@TestBean(name = "field")
4141
String field;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
* @since 6.2
3838
*/
3939
@SpringJUnitConfig
40-
public class TestBeanForByTypeLookupIntegrationTests {
40+
public class TestBeanByTypeLookupIntegrationTests {
4141

4242
@TestBean
4343
MessageService messageService;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
* @since 6.2
4141
*/
4242
@SpringJUnitConfig
43-
public class MockitoBeanForByNameLookupIntegrationTests {
43+
public class MockitoBeanByNameLookupIntegrationTests {
4444

4545
@MockitoBean("field")
4646
ExampleService field;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
* @since 6.2
4848
*/
4949
@SpringJUnitConfig
50-
public class MockitoBeanForByTypeLookupIntegrationTests {
50+
public class MockitoBeanByTypeLookupIntegrationTests {
5151

5252
@MockitoBean
5353
AnotherService serviceIsNotABean;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
import org.springframework.context.annotation.Configuration;
2828
import org.springframework.test.context.bean.override.example.ExampleService;
2929
import org.springframework.test.context.bean.override.example.RealExampleService;
30-
import org.springframework.test.context.bean.override.mockito.MockitoSpyBeanForByNameLookupIntegrationTests.Config;
30+
import org.springframework.test.context.bean.override.mockito.MockitoSpyBeanByNameLookupIntegrationTests.Config;
3131
import org.springframework.test.context.junit.jupiter.SpringJUnitConfig;
3232
import org.springframework.test.mockito.MockitoAssertions;
3333

@@ -41,7 +41,7 @@
4141
* @since 6.2
4242
*/
4343
@SpringJUnitConfig(Config.class)
44-
public class MockitoSpyBeanForByNameLookupIntegrationTests {
44+
public class MockitoSpyBeanByNameLookupIntegrationTests {
4545

4646
@MockitoSpyBean("field1")
4747
ExampleService field;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
* @since 6.2
4343
*/
4444
@SpringJUnitConfig
45-
public class MockitoSpyBeanForByTypeLookupIntegrationTests {
45+
public class MockitoSpyBeanByTypeLookupIntegrationTests {
4646

4747
@MockitoSpyBean
4848
ExampleService anyNameForService;

0 commit comments

Comments
 (0)