TestUninstallSession

A controllable uninstall Session test double for usage with TestPackageUninstaller.

State listeners are invoked on the calling thread, and the current state is delivered immediately when a listener is added. Use TestSession.controller to drive state transitions directly or script transitions tied to Session.launch and Session.commit calls with TestSessionScript.