Package org.jtalks.jcommune.plugin.api.dto

Examples of org.jtalks.jcommune.plugin.api.dto.PluginActivatingDto


    public void updateEnablingShouldUpdatePassedPlugin() throws NotFoundException {
        long componentId = 25L;
        Component component = new Component();
        component.setId(componentId);
        when(componentService.getComponentOfForum()).thenReturn(component);
        PluginActivatingDto pluginActivatingDto = new PluginActivatingDto("Dummy plugin", true);
       
        String expectedStatus = new JsonResponse(JsonResponseStatus.SUCCESS).getStatus().name();
       
        String actualStatus = pluginController.activatePlugin(pluginActivatingDto).getStatus().name();
       
View Full Code Here

TOP

Related Classes of org.jtalks.jcommune.plugin.api.dto.PluginActivatingDto

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.