Bug 166600 [DataBinding] Refactor tests to be in the correct packages
tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/ComputedValueTest.java
};
        assertEquals("value type should be the type that was set", Integer.TYPE, cv.getValueType());
        cv = new ComputedValue() {
            protected Object calculate() {
                
                return null;
            }
        };
        assertNull(cv.getValueType());
    }
    public void test_getValue() throws Exception {
        ComputedValue cv = new ComputedValue() {
            protected Object calculate() {
                return new Integer(42);
            }
        };
        assertEquals("Calculated value should be 42", new Integer(42), cv.getValue());
    }
    public void testDependencyValueChange() throws Exception {
        final WritableValue value = new WritableValue(new Integer(42), Integer.TYPE);
        ComputedValue cv = new ComputedValue() {
            protected Object calculate() {
                return value.getValue();
            }
        };
        assertEquals("calculated value should have been that of the writable value", value.getValue(), cv.getValue());
        value.setValue(new Integer(44));
        assertEquals("calculated value should have been that of the writable value", value.getValue(), cv.getValue());
    }
    private static class WritableValueExt extends WritableValue {