@Test
public void deserializeBackwardsCompatibleValue_supportsCamelCaseDeserialization() throws IOException {

  final String testSnakeCaseString = "{\"excludeLower\":true,\"includeSpecial\":true}";
  final StringGenerationParameters generationParameters = new StringGenerationParameters();
  generationParameters.setExcludeLower(true);
  generationParameters.setIncludeSpecial(true);
  final StringGenerationParameters actualGenerationParameters = new JsonObjectMapper()
    .deserializeBackwardsCompatibleValue(testSnakeCaseString, StringGenerationParameters.class);
  assertThat(generationParameters, equalTo(actualGenerationParameters));
}