function module(sTitle) {
		QUnit.module(sTitle, {
			beforeEach : function () {
				var oConfiguration = sap.ui.getCore().getConfiguration();

				this.sDefaultCalendarType = oConfiguration.getCalendarType();
				this.sDefaultLanguage = oConfiguration.getLanguage();
				this.oLogMock = this.mock(Log);
				this.oLogMock.expects("warning").never();
				this.oLogMock.expects("error").never();
				oConfiguration.setCalendarType(CalendarType.Gregorian);
				oConfiguration.setLanguage("en-US");
			},
			afterEach : function () {
				var oConfiguration = sap.ui.getCore().getConfiguration();

				oConfiguration.setCalendarType(this.sDefaultCalendarType);
				oConfiguration.setLanguage(this.sDefaultLanguage);
			}
		});
	}
/*
	 * Wrapper to <code>QUnit.module</code> to provide a consistent test environment.
	 *
	 * @param {string} sTitle
	 *   The module's title
	 */
Wrapper to QUnit.module to provide a consistent test environment.
@param {string} sTitle
The module's title
Wrapper to QUnit . module to provide a consistent test environment . @param { string } sTitle The module ' s title
function module(sTitle) {
		QUnit.module(sTitle, {
			beforeEach : function () {
				var oConfiguration = sap.ui.getCore().getConfiguration();
				this.sDefaultCalendarType = oConfiguration.getCalendarType();
				this.sDefaultLanguage = oConfiguration.getLanguage();
				this.oLogMock = this.mock(Log);
				this.oLogMock.expects("warning").never();
				this.oLogMock.expects("error").never();
				oConfiguration.setCalendarType(CalendarType.Gregorian);
				oConfiguration.setLanguage("en-US");
			},
			afterEach : function () {
				var oConfiguration = sap.ui.getCore().getConfiguration();
				oConfiguration.setCalendarType(this.sDefaultCalendarType);
				oConfiguration.setLanguage(this.sDefaultLanguage);
			}
		});
	}
function module ( sTitle ) { QUnit . module ( sTitle , { beforeEach : function ( ) { var oConfiguration = sap . ui . getCore ( ) . getConfiguration ( ) ; this . sDefaultCalendarType = oConfiguration . getCalendarType ( ) ; this . sDefaultLanguage = oConfiguration . getLanguage ( ) ; this . oLogMock = this . mock ( Log ) ; this . oLogMock . expects ( "warning" ) . never ( ) ; this . oLogMock . expects ( "error" ) . never ( ) ; oConfiguration . setCalendarType ( CalendarType . Gregorian ) ; oConfiguration . setLanguage ( "en-US" ) ; } , afterEach : function ( ) { var oConfiguration = sap . ui . getCore ( ) . getConfiguration ( ) ; oConfiguration . setCalendarType ( this . sDefaultCalendarType ) ; oConfiguration . setLanguage ( this . sDefaultLanguage ) ; } } ) ; }
Wrapper to <code>QUnit.module</code> to provide a consistent test environment.
Wrapper to <code > QUnit . module< / code > to provide a consistent test environment .