Skip to content

Commit 686213e

Browse files
committed
Add DownloaderFactoryMock
1 parent de8b7c1 commit 686213e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

test/mocks/downloaderfactorymock.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#pragma once
2+
3+
#include <internal/idownloaderfactory.h>
4+
#include <gmock/gmock.h>
5+
6+
using namespace libscratchcpp;
7+
8+
class DownloaderFactoryMock : public IDownloaderFactory
9+
{
10+
public:
11+
MOCK_METHOD(std::shared_ptr<IDownloader>, create, (), (const, override));
12+
};

0 commit comments

Comments
 (0)