@Test public void testSetValue () { String VARIABLE_NAME = "variableName"; Scope parentScope = new ScopeImpl (null); parentScope.createVariable (VARIABLE_NAME, VALUE1); Parameter parameter = new Parameter (PARAMETER_NAME, new ScopeImpl (parentScope), VARIABLE_NAME); assertEquals (VALUE1, parameter.getValue (VARIABLE_NAME)); parameter.setValue (VARIABLE_NAME, VALUE2); assertEquals (VALUE2, parameter.getValue (VARIABLE_NAME)); }
@Override public void setValue (String name, String value) { mScope.getParent ().get (mValue).setValue (name, value); }
Parameter extends SymbolImpl { @Override public void setValue (String name, String value) { mScope.getParent ().get (mValue).setValue (name, value); } }
Parameter extends SymbolImpl { @Override public void setValue (String name, String value) { mScope.getParent ().get (mValue).setValue (name, value); } Parameter(String name, Scope scope, String value); }
Parameter extends SymbolImpl { @Override public void setValue (String name, String value) { mScope.getParent ().get (mValue).setValue (name, value); } Parameter(String name, Scope scope, String value); @Override String getValue(String name); @Override void setValue(String name, String value); @Override void clear(String[] names); }
Parameter extends SymbolImpl { @Override public void setValue (String name, String value) { mScope.getParent ().get (mValue).setValue (name, value); } Parameter(String name, Scope scope, String value); @Override String getValue(String name); @Override void setValue(String name, String value); @Override void clear(String[] names);  }