widget_services_area_helper_mock

Allows to instantiate a mock implementations of AxAreaHelper, compatible to the "axAreaHelper" widget service injection.

Contents

Module Members

Module Members

create( context )

Creates a mock for the widget-specific "axAreaHelper" injection.

Parameters
Property Type Description
context AxContext an object with a widget.id property
Returns
Type Description
AxAreaHelper an axAreaHelper-compatible mock object