Browse Source

Polishing.

Reduce test method visibility.

See #2324.
pull/2333/head
Mark Paluch 5 years ago
parent
commit
524a33af7c
No known key found for this signature in database
GPG Key ID: 4406B84C1661DCD1
  1. 8
      src/test/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactoryEntityTypeTests.java

8
src/test/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactoryEntityTypeTests.java

@ -38,10 +38,10 @@ import org.springframework.data.repository.core.support.PersistentEntityInformat @@ -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 { @@ -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 { @@ -57,7 +57,7 @@ public class ClassGeneratingPropertyAccessorFactoryEntityTypeTests {
}
@Test // #2324
public void shouldGeneratePropertyAccessorForKotlinClassWithMultipleCopyMethods() {
void shouldGeneratePropertyAccessorForKotlinClassWithMultipleCopyMethods() {
ClassGeneratingPropertyAccessorFactory factory = new ClassGeneratingPropertyAccessorFactory();
PersistentPropertyAccessor<WithCustomCopyMethod> propertyAccessor = factory.getPropertyAccessor(

Loading…
Cancel
Save