code: public MockResponse handlePatch(String path, String s) {
          MockResponse response = new MockResponse();
          String body = doGet(path);
          if (body == null) {
              response.setResponseCode(404);
          } else {
              try {
                  JsonNode patch = context.getMapper().readTree(s);
                  JsonNode source = context.getMapper().readTree(body);
                  JsonNode updated = JsonPatch.apply(patch, source);
                  String updatedAsString = context.getMapper().writeValueAsString(updated);
                  AttributeSet features = AttributeSet.merge(attributeExtractor.fromPath(path),
                          attributeExtractor.fromResource(updatedAsString));
                  map.put(features, updatedAsString);
                  response.setResponseCode(202);
                  response.setBody(updatedAsString);
              } catch (Exception e) {
                  throw new RuntimeException(e);
              }
  
          }
          return response;
      }
docs: Patches the specified object to the in-memory db.
  
  @param path
  @param s
  @return