diff --git a/src/test/java/org/mybatis/spring/SqlSessionTemplateTest.java b/src/test/java/org/mybatis/spring/SqlSessionTemplateTest.java
index f89e7777c9..1118c4d90d 100644
--- a/src/test/java/org/mybatis/spring/SqlSessionTemplateTest.java
+++ b/src/test/java/org/mybatis/spring/SqlSessionTemplateTest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2024 the original author or authors.
+ * Copyright 2010-2025 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -34,6 +34,7 @@
// tests basic usage and implementation only
// MapperFactoryBeanTest handles testing the transactional functions in SqlSessionTemplate
+// Method is public as extended by other test classes outside this package
public class SqlSessionTemplateTest extends AbstractMyBatisSpringTest {
private static SqlSession sqlSessionTemplate;
diff --git a/src/test/java/org/mybatis/spring/filter/ScanFilterTest.java b/src/test/java/org/mybatis/spring/filter/ScanFilterTest.java
index 1cb984c765..4c83d076eb 100644
--- a/src/test/java/org/mybatis/spring/filter/ScanFilterTest.java
+++ b/src/test/java/org/mybatis/spring/filter/ScanFilterTest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2024 the original author or authors.
+ * Copyright 2010-2025 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,7 +31,7 @@
/**
* test the function of excludeFilters in @MapperScan
*/
-public class ScanFilterTest {
+class ScanFilterTest {
private AnnotationConfigApplicationContext applicationContext;
diff --git a/src/test/java/org/mybatis/spring/filter/xml/XmlScanFilterTest.java b/src/test/java/org/mybatis/spring/filter/xml/XmlScanFilterTest.java
index f0fd88e5fd..ccecf80fd7 100644
--- a/src/test/java/org/mybatis/spring/filter/xml/XmlScanFilterTest.java
+++ b/src/test/java/org/mybatis/spring/filter/xml/XmlScanFilterTest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2024 the original author or authors.
+ * Copyright 2010-2025 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -24,9 +24,9 @@
import org.springframework.context.support.ClassPathXmlApplicationContext;
/**
- * test the function of excludeFilters in
+ * test the function of excludeFilters in .
*/
-public class XmlScanFilterTest {
+class XmlScanFilterTest {
private ClassPathXmlApplicationContext applicationContext;