                         }
 
                         it("shouldn't post notification `willEnterFullscreen`") {
-                            let expect = self.expectation(forNotification: InternalEvent.willEnterFullscreen.rawValue, object: fullscreenHandler) { notification in
-                                return true
-                            }
-
-                            expect.isInverted = true
+                            let expectation = self.expectation(forNotification: InternalEvent.willEnterFullscreen.rawValue, object: core) { notification in
+                                return true
+                            }
+
+                            expectation.isInverted = true
                             core.setFullscreen(true)
                             self.waitForExpectations(timeout: 2, handler: nil)
                         }
 
                         it("shouldn't post notification `didEnterFullscreen`") {
-                            let expect = self.expectation(forNotification: InternalEvent.didEnterFullscreen.rawValue, object: fullscreenHandler) { notification in
-                                return true
-                            }
-                            expect.isInverted = true
+                            let expectation = self.expectation(forNotification: InternalEvent.didEnterFullscreen.rawValue, object: core) { notification in
+                                return true
+                            }
+                            expectation.isInverted = true
                             core.setFullscreen(true)
                             self.waitForExpectations(timeout: 2, handler: nil)
                         }

                context("and player close fullscreen mode") {

                    beforeEach {
                        fullscreenHandler.enterInFullscreen()
                    }

                    it("should set property `fullscreen` of mediaControll to `false`") {
                        fullscreenHandler.exitFullscreen()
                        core.setFullscreen(false)
                        expect(core.mediaControl?.fullscreen).to(beFalse())
                    }

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


                    }

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