PentahoObjectsConfig { public String getAclVoter() { return getObjectClassName( ACL_VOTER_ID ); } PentahoObjectsConfig( File pentahoXmlFile );  PentahoObjectsConfig( String xml );  PentahoObjectsConfig(); void setDocument( Document doc ); String getSolutionEngine(); void setSolutionEngine( String solutionEngine, ScopeType scope ); String getContentRepository(); void setContentRepository( String contentRepository, ScopeType scope ); String getRuntimeRepository(); void setRuntimeRepository( String runtimeRepository, ScopeType scope ); String getAuditFileEntry(); void setAuditFileEntry( String auditFileEntry, ScopeType scope ); String getUiTemplater(); void setUiTemplater( String uiTemplater, ScopeType scope ); String getUserFilesComponent(); void setUserFilesComponent( String userFilesComponent, ScopeType scope ); String getBackgroundExecutionHelper(); void setBackgroundExecutionHelper( String backgroundExecutionHelper, ScopeType scope ); String getSubscriptionRepository(); void setSubscriptionRepository( String subscriptionRepository, ScopeType scope ); String getSubscriptionScheduler(); void setSubscriptionScheduler( String subscriptionScheduler, ScopeType scope ); String getUserSettingsService(); void setUserSettingsService( String userSettingsService, ScopeType scope ); String getFileOutputHandler(); void setFileOutputHandler( String fileOutputHandler, ScopeType scope ); String getContentRepositoryOutputHandler(); void setContentRepositoryOutputHandler( String contentRepositoryOutputHandler, ScopeType scope ); String getAclPublisher(); void setAclPublisher( String aclPublisher, ScopeType scope ); String getAclVoter(); void setAclVoter( String aclVoter, ScopeType scope ); String getVersionHelper(); void setVersionHelper( String versionHelper, ScopeType scope ); String getCacheManager(); void setCacheManager( String cacheManager, ScopeType scope ); String getScheduler(); void setScheduler( String scheduler, ScopeType scope ); String getConditionalExecution(); void setConditionalExecution( String conditionalExecution, ScopeType scope ); String getMessageFormatter(); void setMessageFormatter( String messageFormatter, ScopeType scope ); String getDataSourceService(); void setDataSourceService( String dataSourceService, ScopeType scope ); String getPasswordService(); void setPasswordService( String passwordService, ScopeType scope ); String getDataSource(); void setDataSource( String dataSource, ScopeType scope ); String getDataSourcMgmtService(); void setDataSourcMgmtService( String dataSourcMgmtService, ScopeType scope ); void setObject( String objectId, ObjectDescriptor objectDescriptor ); void updateObject( String objectId, ObjectDescriptor objectDescriptor ); String getObjectClassName( String objectId ); String getObjectScope( String objectId ); ObjectDescriptor getObject( String objectId ); Document getDocument(); ScopeType stringToScopeType( String scopeTypeString ); static final String SOLUTION_ENGINE_ID; static final String CONTENT_REPOSITORY_ID; static final String RUNTIME_REPOSITORY_ID; static final String AUDIT_FILE_ENTRY_ID; static final String UI_TEMPLATER_ID; static final String USER_FILES_COMPONENT_ID; static final String BACKGROUND_EXECUTION_HELPER_ID; static final String SUBSCRIPTION_REPOSITORY_ID; static final String SUBSCRIPTION_SCHEDULER_ID; static final String USER_SETTINGS_SERVICE_ID; static final String FILE_OUTPUT_HANDLER_ID; static final String CONTENT_REPOSITORY_OUTPUT_HANDLER_ID; static final String ACL_PUBLISHER_ID; static final String ACL_VOTER_ID; static final String VERSION_HELPER_ID; static final String CACHE_MGR_ID; static final String SCHEDULER_ID; static final String CONDITONAL_EXECUTION_ID; static final String MSG_FORMATTER_ID; static final String DATA_SOURCE_SERVICE_ID; static final String PASSWORD_SERVICE_ID; static final String DATA_SOURCE_ID; static final String DATA_SOURCE_MGMT_SERVICE_ID; static final String PROTOTYPE; static final String SESSION; static final String SINGLETON; }
@Test public void testGetAclVoter() throws Exception { String result = poc.getAclVoter(); verify( poc ).getObjectClassName( PentahoObjectsConfig.ACL_VOTER_ID ); }