Bug 117965 [DataBinding] Change tests plugin to pre-req examples
This will allow the UI tests in examples to make use of the pojo model
tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/scenarios/SpinnerControlScenario.java
adventure = SampleData.WINTER_HOLIDAY;
	}
	protected void tearDown() throws Exception {
		
		super.tearDown();
	}
	public void testScenario01() {
		
		
		
		Spinner spinner = new Spinner(getComposite(), SWT.BORDER);
		getDbc().bind(spinner, new Property(adventure, "maxNumberOfPeople"), null);
		assertEquals(adventure.getMaxNumberOfPeople(), spinner.getSelection());
				
		spinner.setSelection(5);	
		assertEquals(5,adventure.getMaxNumberOfPeople());
		
		adventure.setMaxNumberOfPeople(7);
		assertEquals(7,spinner.getSelection());
		
		invokeNonUI(new Runnable(){
			public void run(){
				adventure.setMaxNumberOfPeople(11);
			}
		});
		spinEventLoop(0);
		assertEquals(11,spinner.getSelection());
	}
}