### Question:
ResponseHeadersUtil { public static final void addTotalCount(SearchModel model) { model.getResponse().setHeader("X-Total-Count", model.getTotalCount() + ""); } private  ResponseHeadersUtil(); static final void addTotalCount(SearchModel model); static final void addLocation(HttpServletResponse response, String location);  }### Answer:
@Test public void addTotalCount() { ResponseHeadersUtil.addTotalCount(model); assertTrue(model.getResponse().getHeader("X-Total-Count") != null); }