File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
spring-hibernate4/src/test/java/org/baeldung/persistence/service Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 1616import org .springframework .test .context .junit4 .SpringJUnit4ClassRunner ;
1717import org .springframework .test .context .support .AnnotationConfigContextLoader ;
1818
19- @ RunWith (SpringJUnit4ClassRunner .class )
20- @ ContextConfiguration (classes = { PersistenceConfig .class }, loader = AnnotationConfigContextLoader .class )
21- package com .cc .code .samples .hibernate .sorting ;
22-
2319import static org .junit .Assert .*;
2420
2521import org .junit .Before ;
5147import org .hibernate .criterion .Order ;
5248import org .junit .BeforeClass ;
5349import org .junit .Test ;
50+ @ RunWith (SpringJUnit4ClassRunner .class )
51+ @ ContextConfiguration (classes = { PersistenceConfig .class }, loader = AnnotationConfigContextLoader .class )
52+
5453
55- import com .cc .example .hibernate .Foo ;
56- import com .cc .example .hibernate .Bar ;
5754
5855public class FooSortingServiceTest {
5956
You can’t perform that action at this time.
0 commit comments