title: replace singleton instance in a running roboguice application
body: <p>I have an android application using roboguice as a dependency injection framework. There are several singleton services defined, which are used in the application as well in activities. My problem is that we have a robotium test, which testing the workflow in an ActivityInstrumentation2Testcase. The Test should use mocks instead of the the real instance. Unfortunately we couldn't find a possibility to change the reference, because the application is running. Has somebody an idea?</p>