The tests end up in the widget code, which calls getResources(). This needs to be supported by the mock. bug=1985641