@Test(expected = JsonProcessingException.class)
  public void testDeserialize_invalid_invalidConfiguration() throws Exception {
    mapper.readValue(REQUEST_INVALID_INVALID_CONFIG, AddServiceRequest.class);
  }
Tests for {@link AddServiceRequest} serialization / deserialization / syntax validation
ambari-server/src/test/java/org/apache/ambari/server/topology/addservice/AddServiceRequestTest.java