InputMethodSystemServerTests: Make more robust

Spying directly on the Context causes real invocations from the framework
to interfere with the stubbing.

Instead, we create our own spied-on copy of the Context.

Change-Id: I108d60389bc4d8a9c5a007cfb63e8a56093cae45
Test: atest InputMethodSystemServerTests
1 file changed