Erro ao tentar usar jasmim e angular

Quando tento usar$ httpBackend.flush (); Eu recebo erroTypeError: $ browser.cookies não é uma função. Não consigo encontrar nenhuma informação sobre esse tipo de erro e nenhuma solução.

describe("someText", function() {
    var $httpBackend;
    var someManager;
    var authRequestHandler;

    var dataMockup = [];

    beforeEach(function(){
        module('app');

        inject(function($injector){
            $httpBackend = $injector.get('$httpBackend');
            someManager = $injector.get('someManager');

            authRequestHandler = $httpBackend.when('GET', 'someUrl.php')
                .respond(dataMockup);
        });
    });

    it('test first action', function() {
        $httpBackend.expectGET('someUrl.php');
        messageManager.loadData();
        $httpBackend.flush(); // There i got error
    });
});
Angular: 1.3.15Jasmine: 2.3.4

questionAnswers(1)

yourAnswerToTheQuestion