DATAREST-931 - Polishing.

Switched to non-deprecated property naming strategy in test case.
This commit is contained in:
Oliver Gierke
2016-11-01 13:41:00 +01:00
parent 50d2678d01
commit 68d0a1aa6a
2 changed files with 2 additions and 2 deletions

View File

@@ -104,7 +104,7 @@ public class DomainObjectReaderUnitTests {
public void considersMappedFieldNamesWhenApplyingNodeToDomainObject() throws Exception {
ObjectMapper mapper = new ObjectMapper();
mapper.setPropertyNamingStrategy(PropertyNamingStrategy.PASCAL_CASE_TO_CAMEL_CASE);
mapper.setPropertyNamingStrategy(PropertyNamingStrategy.UPPER_CAMEL_CASE);
JsonNode node = new ObjectMapper().readTree("{\"FirstName\":\"Carter\",\"LastName\":\"Beauford\"}");