53
53
* @author Mark Paluch
54
54
* @author Hebert Coelho
55
55
*/
56
- public class JdbcQueryLookupStrategyUnitTests {
56
+ class JdbcQueryLookupStrategyUnitTests {
57
57
58
- ApplicationEventPublisher publisher = mock (ApplicationEventPublisher .class );
59
- EntityCallbacks callbacks = mock (EntityCallbacks .class );
60
- RelationalMappingContext mappingContext = mock (RelationalMappingContext .class , RETURNS_DEEP_STUBS );
61
- JdbcConverter converter = mock (JdbcConverter .class );
62
- ProjectionFactory projectionFactory = mock (ProjectionFactory .class );
63
- RepositoryMetadata metadata ;
64
- NamedQueries namedQueries = mock (NamedQueries .class );
65
- NamedParameterJdbcOperations operations = mock (NamedParameterJdbcOperations .class );
58
+ private ApplicationEventPublisher publisher = mock (ApplicationEventPublisher .class );
59
+ private EntityCallbacks callbacks = mock (EntityCallbacks .class );
60
+ private RelationalMappingContext mappingContext = mock (RelationalMappingContext .class , RETURNS_DEEP_STUBS );
61
+ private JdbcConverter converter = mock (JdbcConverter .class );
62
+ private ProjectionFactory projectionFactory = mock (ProjectionFactory .class );
63
+ private RepositoryMetadata metadata ;
64
+ private NamedQueries namedQueries = mock (NamedQueries .class );
65
+ private NamedParameterJdbcOperations operations = mock (NamedParameterJdbcOperations .class );
66
66
67
67
@ BeforeEach
68
- public void setup () {
68
+ void setup () {
69
69
70
70
this .metadata = mock (RepositoryMetadata .class );
71
71
@@ -75,7 +75,7 @@ public void setup() {
75
75
76
76
@ Test // DATAJDBC-166
77
77
@ SuppressWarnings ("unchecked" )
78
- public void typeBasedRowMapperGetsUsedForQuery () {
78
+ void typeBasedRowMapperGetsUsedForQuery () {
79
79
80
80
RowMapper <? extends NumberFormat > numberFormatMapper = mock (RowMapper .class );
81
81
QueryMappingConfiguration mappingConfiguration = new DefaultQueryMappingConfiguration ()
@@ -89,7 +89,7 @@ public void typeBasedRowMapperGetsUsedForQuery() {
89
89
}
90
90
91
91
@ Test // GH-1061
92
- public void prefersDeclaredQuery () {
92
+ void prefersDeclaredQuery () {
93
93
94
94
RowMapper <? extends NumberFormat > numberFormatMapper = mock (RowMapper .class );
95
95
QueryMappingConfiguration mappingConfiguration = new DefaultQueryMappingConfiguration ()
0 commit comments