### Question:
AddRulesListDialog extends AtlasDialog implements Cancellable { public AddRulesListDialog(Component owner, AtlasStyler atlasStyler) { super(owner, ASUtil.R("AddRulesListDialog.title", atlasStyler.getTitle())); this.owner = owner; this.atlasStyler = atlasStyler; jComboBoxRuleListType = new RulesListJComboBox(atlasStyler); jComboBoxRuleListType.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { updateImage(); } }); initGui(); } AddRulesListDialog(Component owner, AtlasStyler atlasStyler); @Override void cancel(); @Override boolean close();  }### Answer:
@Test public void testAddRulesListDialog() throws Throwable { if (!TestingUtil.isInteractive()) return; AtlasStylerVector as = AsTestingUtil .getAtlasStyler(TestDatasetsVector.countryShp); AddRulesListDialog addRulesListDialog = new AddRulesListDialog(null, as); TestingUtil.testGui(addRulesListDialog); }