233 +class FakePreviewReply : public scopes::PreviewReply
234 +{
235 +public:
236 + // TODO: make PreviewReply more easily mockable in scopes-api
Scopes API has MockPreviewReply in the testing namespace, is there any issue with it? (if so, please open a bug against scopes api). I think it does exactly what you need and implement with with this FakePreviewReplyClass.
233 +class FakePreviewReply : public scopes: :PreviewReply
234 +{
235 +public:
236 + // TODO: make PreviewReply more easily mockable in scopes-api
Scopes API has MockPreviewReply in the testing namespace, is there any issue with it? (if so, please open a bug against scopes api). I think it does exactly what you need and implement with with this FakePreviewRepl yClass.