                 beforeEach {
                     core = CoreFactory.create(with: options, layerComposer: layerComposer)
                     core.load()
-                    posterPlugin = self.getPosterPlugin(core.activeContainer)
+                    posterPlugin = self.getPosterPlugin(core)
                 }
 
                 context("when playback trigger a play event") {

                    }

                    it("isNoOpPlayback is true") {
                        expect(posterPlugin.isNoOpPlayback).to(beTrue())
                    }

                    context("and change again to another playback") {
                        beforeEach {
                            core.activeContainer?.playback = AVFoundationPlayback(options: [:])
                            posterPlugin = self.getPosterPlugin(core.activeContainer)
                        }

                        it("hides itself") {

        }
    }

    private func getPosterPlugin(_ core: Core?) -> PosterPlugin {
        return core?.plugins.first { $0.pluginName == PosterPlugin.name } as! PosterPlugin
    }
}
