Polishing.

Reduce test method visibility.

See #2324.
This commit is contained in:
Mark Paluch
2021-03-12 11:27:54 +01:00
parent 6a5812b3de
commit eac1105177

View File

@@ -38,10 +38,10 @@ import org.springframework.data.repository.core.support.PersistentEntityInformat
*/
public class ClassGeneratingPropertyAccessorFactoryEntityTypeTests {
SampleMappingContext mappingContext = new SampleMappingContext();
private SampleMappingContext mappingContext = new SampleMappingContext();
@Test // DATACMNS-853
public void getIdentifierOfInterfaceBasedEntity() {
void getIdentifierOfInterfaceBasedEntity() {
Algorithm quickSort = new QuickSort();
@@ -49,7 +49,7 @@ public class ClassGeneratingPropertyAccessorFactoryEntityTypeTests {
}
@Test // DATACMNS-853
public void getIdentifierOfClassBasedEntity() {
void getIdentifierOfClassBasedEntity() {
Person jonDoe = new Person("JonDoe");
@@ -57,7 +57,7 @@ public class ClassGeneratingPropertyAccessorFactoryEntityTypeTests {
}
@Test // #2324
public void shouldGeneratePropertyAccessorForKotlinClassWithMultipleCopyMethods() {
void shouldGeneratePropertyAccessorForKotlinClassWithMultipleCopyMethods() {
ClassGeneratingPropertyAccessorFactory factory = new ClassGeneratingPropertyAccessorFactory();
PersistentPropertyAccessor<WithCustomCopyMethod> propertyAccessor = factory.getPropertyAccessor(