def test_action_with_nonexistent_group(self):

        action_sets = [
            ActionSet(
                actions = [
                    Action(
                        class_name = 'Exit',
                        path       = 'MenuBar/File',
                        group      = 'Bogus'
                    ),
                ]
            ),

        ]

        # Create a builder containing the action set.
        builder = DummyActionManagerBuilder(action_sets=action_sets)

        # Create a menu bar manager for the 'MenuBar'.
        self.failUnlessRaises(
            ValueError, builder.create_menu_bar_manager, 'MenuBar'
        )

        return
action with non-existent group
dataset/ETHPy150Open enthought/envisage/envisage/ui/action/tests/action_manager_builder_test_case.py/ActionManagerBuilderTestCase.test_action_with_nonexistent_group