@Test public void testValidate() { presenter._setDataSetDef(dataSetDef); presenter.validate(); verify(beanDataSetDefValidator, times(1)).validateAttributes(any(BeanDataSetDef.class)); verify(beanDataSetDefValidator, times(0)) .validate(any(BeanDataSetDef.class), anyBoolean(), anyBoolean(), anyBoolean()); }
@Test public void testGetEditorClass() { assertEquals( org.dashbuilder.client.widgets.dataset.editor.bean.BeanDataSetDefAttributesEditor.class, presenter.getEditorClass()); }
@Test public void testGetDriverClass() { assertEquals(BeanDataSetDefAttributesDriver.class, presenter.getDriverClass()); }