AbstractScanner { public boolean isEnabled() { return enabled; }  abstract String getJobGroup(); abstract String getJobName(); abstract String getTriggerGroupName(); abstract String getTriggerName(); abstract String getScannerName(); abstract void scan(); String getCronExpression(); void setCronExpression(String cronExpression); boolean isEnabled(); void setEnabled(boolean enabled); void schedule(); void unschedule(); OrganizationDirectoryService getOrganizationDirectoryService(); SecurityContext getAdminContextFor(String orgId); ServiceRegistry getServiceRegistry(); String getSystemUserName(); void deactivate(); void shutdown(); void trigger(); static final String JOB_PARAM_PARENT; static final String PARAM_KEY_ENABLED; static final String PARAM_KEY_CRON_EXPR; }
@Test public void defaultIsDisabled() { assertEquals(false, abstractScanner.isEnabled()); }