### Question:
Context { @Override public String toString() { return "Context" + varMap; } Context();  Context(Map<String, Object> varMap); Map<String, Object> toMap(); Object getVar(String name); void putVar(String name, Object value); void removeVar(String var); Config getConfig(); @Override String toString();  }### Answer:
@Test public void testToString() { Context context = new Context(); context.putVar("x", 1); context.putVar("y", "Abc"); assertTrue(context.toString().contains("y=Abc")); assertTrue(context.toString().contains("x=1")); }