Package org.jbpm.formbuilder.shared.menu

Examples of org.jbpm.formbuilder.shared.menu.MockMenuService


        assertNotNull("props shouldn't be null", props);
        assertFalse("props shouldn't be empty", props.isEmpty());
    }
   
    public void testMockMenuService() throws Exception {
        MockMenuService service = new MockMenuService();
       
        Map<String, String> formBuilderProperties = service.getFormBuilderProperties();
        assertNotNull("formBuilderProperties shouldn't be null", formBuilderProperties);
        assertFalse("formBuilderProperties shouldn't be empty", formBuilderProperties.isEmpty());
       
        Map<String, List<MenuItemDescription>> menuItems = service.listMenuItems();
        assertNotNull("menuItems shouldn't be null", menuItems);
        assertFalse("menuItems shouldn't be empty", menuItems.isEmpty());
       
        List<MenuOptionDescription> options = service.listOptions();
        assertNotNull("options shouldn't be null", options);
        assertFalse("options shouldn't be empty", options.isEmpty());
       
        List<ValidationDescription> validations = service.listValidations();
        assertNotNull("validations shouldn't be null", validations);
        assertFalse("validations shouldn't be empty", validations.isEmpty());
    }
View Full Code Here

TOP

Related Classes of org.jbpm.formbuilder.shared.menu.MockMenuService

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.