### Question:
ModelBuilder { public void add(Map<String, Object> map, boolean resolveExpressions) { if (map != null) { for (Map.Entry<String, Object> modelEntry : map.entrySet()) { addIfNotInModel(modelEntry.getKey(), modelEntry.getKey(), modelEntry.getValue(), resolveExpressions, false); } } } ModelBuilder(FacesContext context); void addFromComponent(UIComponent component); void add(Map<String, Object> map, boolean resolveExpressions); void addFromParameterList(Map<String, List<String>> parameters); Map<String, Object> getModel();  }### Answer:
@Test public void shouldNotAttemptResolveOfMalformedExpressions() throws Exception { Map<String, Object> map = new HashMap<String, Object>(); map.put("m1", "#{expression"); map.put("m2", "#expression}"); map.put("m3", "#}expression{"); map.put("m4", new StringBuffer("#{expression}")); this.modelBuilder.add(map, true); verifyZeroInteractions(this.application); }