{
expect(6);
/*
* Time Picker
*/
TimePickerTextBox tptb = new TimePickerTextBox();
g_panel.add(tptb, WIDGETS_ID);
tptb.setText("5:48 AM");
ok("5:48 AM".equals(tptb.getText()), "The time picker text box text should be 5:48 PM and it was " + tptb.getText());
ok(5 == tptb.getHours(), "The time picker text box hours should be 5 and it was " + tptb.getHours());
ok(48 == tptb.getMinutes(), "The time picker text box minutes should be 48 and it was " + tptb.getMinutes());
ok(!tptb.isEmpty(), "The time picker text box shouldn't be empty.");
/*
* Date Picker
*/
DatePickerTextBox dptb = new DatePickerTextBox();