@Test
public void testSetCaption() throws Exception {

  SwtGroupbox groupBox = (SwtGroupbox) container.getDocumentRoot().getElementById( "database-options-box" );
  String expectedCaptionText = "someText";
  groupBox.setCaption( expectedCaptionText );
  assertEquals(expectedCaptionText, groupBox.label.getValue());
}