Adds provider class to the fakeobject wrapper