### Question:
Constant extends SimpleSymbol { @Override public void setValue (String name, String value) { throw new ExecutionException ("constant '%s' cannot be set", name); } Constant(String name, Scope scope, String value); @Override void setValue(String name, String value);  }### Answer:
@Test (expected=ExecutionException.class) public void testSetValueStringString () { mConstant.setValue (NAME, "new value"); }
@Test (expected=ExecutionException.class) public void testSetValueString () { mConstant.setValue ("new value"); }