function makeSyncProvider() {
            provider = jasmine.createSpy().andCallFake(function (query) {
                return mockResults[query || "<blank>"];
            });
        }
Sets provider to a function that synchronously returns results from mockResults