Class OrganizationSelectorDataSourceTest


  • public class OrganizationSelectorDataSourceTest
    extends BaseDataSourceTestDal
    Test to check that an Organization selector (both normal and custom query based) applies the filter based on the role's organization access, even when an organization has been selected in the field before calling to the datasource.
    • Constructor Detail

      • OrganizationSelectorDataSourceTest

        public OrganizationSelectorDataSourceTest​(boolean organizationSelected)
    • Method Detail

      • retrieveExpectedOrganizationListFromSelector

        public void retrieveExpectedOrganizationListFromSelector()
                                                          throws Exception
        Throws:
        Exception
      • retrieveExpectedOrganizationListFromCustomQuerySelector

        public void retrieveExpectedOrganizationListFromCustomQuerySelector()
                                                                     throws Exception
        Throws:
        Exception