Replaced mixin Mockable!(shared T) with getSharedMock() method in order to create a shared mock.