Merge "Fix UnsupportedOperationException from MockContext."