Mock service locator provider from http://joseoncode.com/2010/02/24/testing-code-that-use-servicelocator-servicelocatorstub/