@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")); }
@Override public String toString() { return "Context" + varMap; }
Context { @Override public String toString() { return "Context" + varMap; } }
Context { @Override public String toString() { return "Context" + varMap; } Context();  Context(Map<String, Object> varMap); }
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(); }
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();  }