                     }
 
                     it("should post notification `willEnterFullscreen`") {
-                        self.expectation(forNotification: InternalEvent.willEnterFullscreen.rawValue, object: fullscreenHandler) { notification in
+                        self.expectation(forNotification: InternalEvent.willEnterFullscreen.rawValue, object: core) { notification in
                             return true
                         }
                         fullscreenHandler.enterInFullscreen()

                    }

                    it("should post notification `willExitFullscreen`") {
                        self.expectation(forNotification: InternalEvent.willExitFullscreen.rawValue, object: fullscreenHandler) { notification in
                            return true
                        }
                        fullscreenHandler.exitFullscreen()
                        self.waitForExpectations(timeout: 2, handler: nil)
                    }

                    it("should post notification `didExitFullscreen`") {
                        self.expectation(forNotification: InternalEvent.didExitFullscreen.rawValue, object: fullscreenHandler) { notification in
                            return true
                        }
                        fullscreenHandler.exitFullscreen()
                        self.waitForExpectations(timeout: 2, handler: nil)
                    }

                    }

                    it("should post notification `didEnterFullscreen`") {
                        self.expectation(forNotification: InternalEvent.didEnterFullscreen.rawValue, object: core) { notification in
                            return true
                        }

                        fullscreenHandler.enterInFullscreen()
                        self.waitForExpectations(timeout: 2, handler: nil)
                    }
