File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
src/test/java/org/springframework/data/jpa/repository Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 57
57
import org .springframework .dao .InvalidDataAccessApiUsageException ;
58
58
import org .springframework .data .domain .Example ;
59
59
import org .springframework .data .domain .ExampleMatcher ;
60
+ import org .springframework .data .domain .ExampleMatcher .GenericPropertyMatcher ;
61
+ import org .springframework .data .domain .ExampleMatcher .StringMatcher ;
60
62
import org .springframework .data .domain .Page ;
61
63
import org .springframework .data .domain .PageImpl ;
62
64
import org .springframework .data .domain .PageRequest ;
@@ -1011,16 +1013,16 @@ void looksUpEntityReferenceUsingGetById() {
1011
1013
assertThat (result ).isEqualTo (firstUser );
1012
1014
}
1013
1015
1014
- @ Test // GH-2232
1015
- void looksUpEntityReferenceUsingGetReferenceById () {
1016
+ @ Test // GH-2232
1017
+ void looksUpEntityReferenceUsingGetReferenceById () {
1016
1018
1017
- flushTestUsers ();
1019
+ flushTestUsers ();
1018
1020
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
+ }
1022
1024
1023
- @ Test // DATAJPA-415
1025
+ @ Test // DATAJPA-415
1024
1026
void invokesQueryWithVarargsParametersCorrectly () {
1025
1027
1026
1028
flushTestUsers ();
You can’t perform that action at this time.
0 commit comments