/** Test tool configuration. */ @Test public void testToolConfiguration() { assertNotNull(defaultGroup); final ToolConfiguration docToolConfig = defaultGroup.getToolConfiguration(TOOL_NAME); assertNotNull(docToolConfig); assertTrue(docToolConfig.isEnabled()); // final ToolConfiguration chatToolConfig = // defaultGroup.getToolConfiguration(ChatConstants.NAME); // assertNotNull(chatToolConfig); // assertTrue(chatToolConfig.isEnabled()); final List<String> enabledTools = groupManager.findEnabledTools(defaultGroup.getId()); assertNotNull(enabledTools); assertTrue(enabledTools.size() > 0); assertNotNull(containerManager.getTrashFolder(defaultGroup).getId()); }
/** Inits the. */ @KuneTransactional @Before public void init() { new IntegrationTestHelper(true, this); defaultGroup = groupManager.getSiteDefaultGroup(); }