code: @Test(expected=HandlebarsException.class) public void jsonViewNotFound() throws IOException {
    Handlebars handlebars=new Handlebars();
    ObjectMapper mapper=new ObjectMapper();
    mapper.configure(MapperFeature.DEFAULT_VIEW_INCLUSION,false);
    handlebars.registerHelper("@json",new Jackson2Helper(mapper));
    Template template=handlebars.compile("{{@json this view=\"missing.ViewClass\"}}");
    CharSequence result=template.apply(new Blog("First Post","..."));
    assertEquals("{\"title\":\"First Post\"}",result);
  }
  