@Test
public void testDatepickerLifecycle() {

	TestBootstrapDatePicker picker = new TestBootstrapDatePicker("picker");
	startTest(picker);
	getTester().assertComponent(picker.getPageRelativePath(), TestBootstrapDatePicker.class);
	getTester().assertComponent(picker.getInnerField().getPageRelativePath(), DateTextField.class);
	assertEquals(picker.getInnerField(), picker.getDateTextField());
}