How to mock static methods 31 January 2016