@@ -192,11 +192,11 @@ void serializeAndDeserializeFilledMultipleCascade() throws JsonProcessingExcepti
192192 @ Test
193193 void deserializePageableWithHyphenatedAlias () throws IOException {
194194 // Given
195- ObjectMapper kebabOjectMapepr = objectMapper .copy ();
196- kebabOjectMapepr .setPropertyNamingStrategy (PropertyNamingStrategies .KEBAB_CASE );
195+ ObjectMapper kebabObjectMapepr = objectMapper .copy ();
196+ kebabObjectMapepr .setPropertyNamingStrategy (PropertyNamingStrategies .KEBAB_CASE );
197197 File file = new File ("./src/test/resources/withPageableAliasHyphen.json" );
198198 // When
199- Page <?> result = kebabOjectMapepr .readValue (file , Page .class );
199+ Page <?> result = kebabObjectMapepr .readValue (file , Page .class );
200200 // Then
201201 assertThat (result ).isNotNull ();
202202 assertThat (result .getTotalElements ()).isEqualTo (15 );
@@ -211,12 +211,12 @@ void deserializePageableWithHyphenatedAlias() throws IOException {
211211 @ Test
212212 void deserializePageableWithUnderscoreAlias () throws IOException {
213213 // Given
214- ObjectMapper snakeCaseMapper = objectMapper .copy ();
215- snakeCaseMapper .setPropertyNamingStrategy (PropertyNamingStrategies .SNAKE_CASE );
214+ ObjectMapper snakeCaseObjectMapper = objectMapper .copy ();
215+ snakeCaseObjectMapper .setPropertyNamingStrategy (PropertyNamingStrategies .SNAKE_CASE );
216216 File file = new File ("./src/test/resources/withPageableAliasUnderscore.json" );
217217
218218 // When
219- Page <?> result = snakeCaseMapper .readValue (file , Page .class );
219+ Page <?> result = snakeCaseObjectMapper .readValue (file , Page .class );
220220 // Then
221221 assertThat (result ).isNotNull ();
222222 assertThat (result .getTotalElements ()).isEqualTo (10 );
@@ -231,13 +231,13 @@ void deserializePageableWithUnderscoreAlias() throws IOException {
231231 @ Test
232232 void deserializePageableWithLowercaseAlias () throws IOException {
233233 // Given
234- ObjectMapper lowerCaseMapper = objectMapper .copy ();
235- lowerCaseMapper .setPropertyNamingStrategy (PropertyNamingStrategies .LOWER_CASE );
234+ ObjectMapper lowerCaseObjectMapper = objectMapper .copy ();
235+ lowerCaseObjectMapper .setPropertyNamingStrategy (PropertyNamingStrategies .LOWER_CASE );
236236
237237 File file = new File ("./src/test/resources/withPageableAliasLowercase.json" );
238238
239239 // When
240- Page <?> result = lowerCaseMapper .readValue (file , Page .class );
240+ Page <?> result = lowerCaseObjectMapper .readValue (file , Page .class );
241241 // Then
242242 assertThat (result ).isNotNull ();
243243 assertThat (result .getTotalElements ()).isEqualTo (8 );
@@ -251,12 +251,12 @@ void deserializePageableWithLowercaseAlias() throws IOException {
251251 @ Test
252252 void deserializePageableWithPascalCaseAlias () throws IOException {
253253 // Given
254- ObjectMapper upperCamelCaseMapper = objectMapper .copy ();
255- upperCamelCaseMapper .setPropertyNamingStrategy (PropertyNamingStrategies .UPPER_CAMEL_CASE );
254+ ObjectMapper upperCamelCaseObjectMapper = objectMapper .copy ();
255+ upperCamelCaseObjectMapper .setPropertyNamingStrategy (PropertyNamingStrategies .UPPER_CAMEL_CASE );
256256 File file = new File ("./src/test/resources/withPageableAliasPascalCase.json" );
257257
258258 // When
259- Page <?> result = upperCamelCaseMapper .readValue (file , Page .class );
259+ Page <?> result = upperCamelCaseObjectMapper .readValue (file , Page .class );
260260 // Then
261261 assertThat (result ).isNotNull ();
262262 assertThat (result .getTotalElements ()).isEqualTo (20 );
0 commit comments