     /// When the pan gesture is used, the animations should be handled by the default view.
     func testPanGesture() {
         let notificationView = UINotificationView(notification: notification)
-        let presenter = MockPresenterCapturer(presentationContext: UINotificationPresentationContext(request: UINotificationRequest(notification: notification, delegate: MockRequestDelegate(), notificationViewType: UINotificationView.self), containerWindow: UIWindow(), notificationView: notificationView), dismissTrigger: nil)
+        let presenter = MockPresenterCapturer(presentationContext: UINotificationPresentationContext(request: UINotificationRequest(notification: notification, delegate: MockRequestDelegate(), notificationViewType: UINotificationView.self), containerWindow: UIWindow(), windowLevel: UIWindowLevelStatusBar, notificationView: notificationView), dismissTrigger: nil)
         notificationView.presenter = presenter
         
         notificationView.handlePanGestureState(.began, translation: CGPoint.zero)

                expectation.fulfill()
        }))
        let notificationView = UINotificationView(notification: notification)
        notificationView.presenter = MockPresenter(presentationContext: UINotificationPresentationContext(request: UINotificationRequest(notification: notification, delegate: MockRequestDelegate(), notificationViewType: UINotificationView.self), containerWindow: UIWindow(), notificationView: notificationView), dismissTrigger: nil)
        notificationView.presenter?.present()
        notificationView.handleTapGestureRecognizer()
            

            actionTriggeredCount += 1
        }))
        let notificationView = UINotificationView(notification: notification)
        notificationView.presenter = MockPresenter(presentationContext: UINotificationPresentationContext(request: UINotificationRequest(notification: notification, delegate: MockRequestDelegate(), notificationViewType: UINotificationView.self), containerWindow: UIWindow(), windowLevel: UIWindowLevelStatusBar, notificationView: notificationView), dismissTrigger: nil)
        notificationView.presenter?.present()
        
        notificationView.handleTapGestureRecognizer()
