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
assertEquals(2, counter.count);
	}
	public void testDoSetValue() throws Exception {
		WritableValue writableValue = new WritableValue(SWTObservables
				.getRealm(Display.getDefault()));
		Object value = new Object();
		writableValue.setValue(value);
		assertEquals(value, writableValue.getValue());
	}
	/**
	 * All constructors delegate to the 3 arg constructor.
	 * 
	 * @throws Exception
	 */
	public void testConstructor() throws Exception {
		WritableValue value = new WritableValue(SWTObservables.getRealm(Display
				.getDefault()));
		assertNull(value.getValue());
		assertNull(value.getValueType());
	}
	
	public void testWithValueType() throws Exception {
		Object elementType = String.class;
		WritableValue value = WritableValue.withValueType(elementType);
		assertNotNull(value);
		assertEquals(Realm.getDefault(), value.getRealm());
		assertEquals(elementType, value.getValueType());
	}
}