Mocking tests for resources


![](http://i.gyazo.com/3de4b9045b664b0bd07ae613d2f7d5a2.png)