'use strict';

var HeaderLeftController = require('../../../../src/components/core/controller/CoreController');

describe('Components:Core:Controller:CoreController', function () {

  var createController, $q, $rootScope, locals;

  beforeEach(function () {
    var fakeWindow = {VideoPlayerCollection: {addPlayerById: jasmine.createSpy()}};
    angular.mock.module(function ($provide) {
      $provide.value('$window', fakeWindow);
    });
    angular.mock.inject(function ($injector) {
      var $controller = $injector.get('$controller');
      $q = $injector.get('$q');
      $rootScope = $injector.get('$rootScope');
      locals = {
        $window: fakeWindow
      };
      createController = function () {
        return $controller(HeaderLeftController, locals);
      };
    });
  });

  it('should init the Controller', function () {
    createController();
  });

});
@@ -335,24 +335,26 @@
 py()%7D%7D;%0A    
+//
 angular.mock
@@ -387,16 +387,18 @@
 ) %7B%0A    
+//
   $provi
@@ -430,24 +430,26 @@
 indow);%0A    
+//
 %7D);%0A    angu

fix test for controller - no 3