@Test public void testRunOnUiThreadWhenNotAttached() {

	// Arrange:
	final BaseFragment fragment = new TestFragment();
	// Act + Assert:
	assertThat(fragment.runOnUiThread(new Runnable() {
		@Override public void run() {
			// Will not run.
			throw new AssertionError("Should not but run on Ui thread!");
		}
	}), is(false));
}