Class CockpitConfigurationServiceTest

    • Constructor Detail

      • CockpitConfigurationServiceTest

        public CockpitConfigurationServiceTest()
    • Method Detail

      • setUp

        public void setUp()
                   throws java.lang.Exception
        prepares some test data, before execution of every test:
        - the test principalModel will be created and saved
        Throws:
        java.lang.Exception
      • testGetCockpitConfigurations

        public void testGetCockpitConfigurations()
        Demonstrates two ways to retrieve cockpit configurations given a principal:
        - Retrieves all component configurations based on the given principal
        - Retrieve a specific configuration based on principal, object template code, and code.
      • testGetRoleNamesForPrincipal

        public void testGetRoleNamesForPrincipal()
        Demonstrates how to retrieve roles names for a given principal