http://stackoverflow.com/questions/2302179/mocking-a-singleton-class