Bug 166600 [DataBinding] Refactor tests to be in the correct packages
tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/util/RealmTester.java
if (previousRealm != null) {
				previousRealm.setCurrent(true);
			}
			try {
				runnable.run();
			} catch (AssertionFailedException e) {
				Assert
						.fail("Correct realm, exception should not have been thrown");
			}
			realm.setCurrent(false);
			if (previousRealm != null) {
				previousRealm.setCurrent(false);
			}
			try {
				runnable.run();
				Assert
						.fail("Incorrect realm, exception should have been thrown");
			} catch (AssertionFailedException e) {
			}
		} finally {
			setDefault(previousRealm);
		}
	}
	/**
	 * Allows for the toggling of the current status of the realm. The
	 * syncExec(...) and asyncExec(...) implementations do nothing.
	 * 
	 * @since 3.2
	 */
	public static class CurrentRealm extends Realm {