/* * Test the setValue() method when the value of the expression is set by a * previous call to setValue(). */ public void testSetValue_Set() throws Exception { MockObject mo = new MockObject(false); Expression t = new Expression(mo, "method", new Object[0]); t.setValue(mo); assertSame(mo, t.getValue()); MockObject.assertNotCalled(); t.setValue(null); assertSame(null, t.getValue()); MockObject.assertNotCalled(); }
public void setValue(Object value) { super.setValue(value); }