function createSetup( widgetConfiguration ) {

      beforeEach( () => {
         axMocks.widget.configure( widgetConfiguration );
      } );

      beforeEach( axMocks.widget.load );

      beforeEach( () => {
         axMocks.widget.render();

         widgetScope = axMocks.widget.$scope;
         testEventBus = axMocks.eventBus;
         axMocks.triggerStartupEvents( {
            didChangeLocale: {
               default: {
                  locale: 'default',
                  languageTag: 'en_US'
               }
            }
         } );
      } );
   }
function createSetup( widgetConfiguration ) {

      beforeEach( () => {
         axMocks.widget.configure( widgetConfiguration );
      } );

      beforeEach( axMocks.widget.load );

      beforeEach( () => {
         axMocks.widget.render();

         widgetScope = axMocks.widget.$scope;
         testEventBus = axMocks.eventBus;
         axMocks.triggerStartupEvents( {
            didChangeLocale: {
               default: {
                  locale: 'default',
                  languageTag: 'en_US'
               }
            }
         } );
      } );
   }
function createSetup ( widgetConfiguration ) { beforeEach ( ( ) => { axMocks . widget . configure ( widgetConfiguration ) ; } ) ; beforeEach ( axMocks . widget . load ) ; beforeEach ( ( ) => { axMocks . widget . render ( ) ; widgetScope = axMocks . widget . $scope ; testEventBus = axMocks . eventBus ; axMocks . triggerStartupEvents ( { didChangeLocale : { default : { locale : 'default' , languageTag : 'en_US' } } } ) ; } ) ; }
/////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////