File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed 
spring-data-rest-core/src/test/java/org/springframework/data/rest/core/support Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ /* 
2+  * Copyright 2025 the original author or authors. 
3+  * 
4+  * Licensed under the Apache License, Version 2.0 (the "License"); 
5+  * you may not use this file except in compliance with the License. 
6+  * You may obtain a copy of the License at 
7+  * 
8+  *      https://www.apache.org/licenses/LICENSE-2.0 
9+  * 
10+  * Unless required by applicable law or agreed to in writing, software 
11+  * distributed under the License is distributed on an "AS IS" BASIS, 
12+  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
13+  * See the License for the specific language governing permissions and 
14+  * limitations under the License. 
15+  */ 
16+ package  org .springframework .data .rest .core .support ;
17+ 
18+ import  static  org .assertj .core .api .Assertions .*;
19+ 
20+ import  org .junit .jupiter .api .Test ;
21+ 
22+ import  org .springframework .core .annotation .OrderUtils ;
23+ 
24+ /** 
25+  * Unit tests for {@link RepositoryRelProvider}. 
26+  * 
27+  * @author Mark Paluch 
28+  */ 
29+ class  RepositoryRelProviderUnitTests  {
30+ 
31+ 	@ Test  // GH-2477 
32+ 	void  shouldReportOrder () {
33+ 
34+ 		Integer  order  = OrderUtils .getOrder (RepositoryRelProvider .class );
35+ 
36+ 		assertThat (order ).isEqualTo (Integer .MAX_VALUE  - 10 );
37+ 	}
38+ 
39+ }
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments