pack(optionPane, title());
driver.requireOptions(optionPane, array("First", "Second"));
}
public void should_fail_if_options_are_not_equal_to_expected() {
JOptionPane optionPane = messageWithOptions("First", "Second");
pack(optionPane, title());
try {
driver.requireOptions(optionPane, array("Third"));
failWhenExpectingException();
} catch (AssertionError e) {