;
        utterance2.onresume = fn();
        utterance2.onstart = fn();

        speechSynthesis.speak(utterance2);

        expect(speechSynthesis.paused).toBe(false);
        expect(speechSynthesis.pending).toBe(true);
        expect(speechSynthesis.speaking).toBe(true);
        expect(utterance2.onend).toHaveBeenCalledTimes(0);
        expect(utterance2.onpause).toHaveBeenCalledTimes(0);
        expect(utterance2.onresume).toHaveBeenCalledTimes(0);
        expect(utterance2.onstart).toHaveBeenCalledTime