Bug 166600 [DataBinding] Refactor tests to be in the correct packages
tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/observable/value/WritableValueTest.java
/**
	 * Asserts that ValueChange events are only fired when the value changes.
	 * 
	 * @throws Exception
	 */
	public void testValueChangeOnlyFiresOnChange() throws Exception {
		WritableValue writableValue = new WritableValue();
		ValueChangeEventTracker counter = new ValueChangeEventTracker();
		writableValue.addValueChangeListener(counter);
		assertEquals(0, counter.count);
		
		writableValue.setValue(null);
		assertEquals(0, counter.count);
		
		writableValue.setValue("value");
		assertEquals(1, counter.count);
		
		writableValue.setValue("value");
		assertEquals(1, counter.count);
		
		writableValue.setValue(null);