Merge "Add getApplicationContext to the mock implementation."