    @Test(expected = IllegalArgumentException.class)
    public void should_throw_when_variable_name_not_found() {

        ResponseFieldTemplateDescriptor templateDescriptor = templatedResponseField("id").replacedWithUriTemplateVariableValue("someId");
        ResponseTemplateProcessor templateProcessor = new ResponseTemplateProcessor(
                singletonList(templateDescriptor),
                new UriTemplate("http://localhost/api/things/{someOtherId}"),
                jsonBody);

        templateProcessor.replaceTemplateFields();
    }