What you can do is to create a wrapper of the immutable function in your class:
MyClass.prototype.locationAssign = function () {
window.location.assign.apply(window.location, arguments);
}
and spy on that method.
spyOn(MyClass, 'locationAssign');