Skip to content

Commit 192bec3

Browse files
committed
Polishing.
Indentation in testcases (spaces -> tabs). Additional imports.
1 parent a2b9e69 commit 192bec3

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

src/test/java/org/springframework/data/jpa/repository/UserRepositoryTests.java

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@
5757
import org.springframework.dao.InvalidDataAccessApiUsageException;
5858
import org.springframework.data.domain.Example;
5959
import org.springframework.data.domain.ExampleMatcher;
60+
import org.springframework.data.domain.ExampleMatcher.GenericPropertyMatcher;
61+
import org.springframework.data.domain.ExampleMatcher.StringMatcher;
6062
import org.springframework.data.domain.Page;
6163
import org.springframework.data.domain.PageImpl;
6264
import org.springframework.data.domain.PageRequest;
@@ -1011,16 +1013,16 @@ void looksUpEntityReferenceUsingGetById() {
10111013
assertThat(result).isEqualTo(firstUser);
10121014
}
10131015

1014-
@Test // GH-2232
1015-
void looksUpEntityReferenceUsingGetReferenceById() {
1016+
@Test // GH-2232
1017+
void looksUpEntityReferenceUsingGetReferenceById() {
10161018

1017-
flushTestUsers();
1019+
flushTestUsers();
10181020

1019-
User result = repository.getReferenceById(firstUser.getId());
1020-
assertThat(result).isEqualTo(firstUser);
1021-
}
1021+
User result = repository.getReferenceById(firstUser.getId());
1022+
assertThat(result).isEqualTo(firstUser);
1023+
}
10221024

1023-
@Test // DATAJPA-415
1025+
@Test // DATAJPA-415
10241026
void invokesQueryWithVarargsParametersCorrectly() {
10251027

10261028
flushTestUsers();

0 commit comments

Comments
 (0)