function getMockedOnAppLoadedEvent(isHomePage, isUI5ApplicationType) {
		return {
			getParameters: () => {
				return {
					homePage: isHomePage,
					applicationType: isUI5ApplicationType ? "UI5" : "",
					getAllAppInfo: () => Promise.resolve({
						technicalAppComponentId: {
							value: "sample.app.id"
						}
					}),
					componentInstance: oComponentInstance
				};
			}
		};
	}
Creates a mocked event object for the "onAppLoaded" event.

@param {boolean} isHomePage - Indicates if the current application is the home page.
@param {boolean} isUI5ApplicationType - Indicates if the application type is UI5.
@returns {object} Mocked event object with a method to get the current application.