openappsec/components/include/mock/mock_nginx_attachment.h
2022-10-26 19:33:19 +03:00

17 lines
441 B
C++
Executable File

#ifndef __MOCK_NGINX_ATTACHMENT_H__
#define __MOCK_NGINX_ATTACHMENT_H__
#include "nginx_attachment.h"
class MockNginxAttachment:
public Singleton::Provide<I_StaticResourcesHandler>::From<MockProvider<I_StaticResourcesHandler>>
{
public:
MOCK_METHOD2(
registerStaticResource,
bool(const std::string &static_resource_name, const std::string &static_resource_path)
);
};
#endif // __MOCK_NGINX_ATTACHMENT_H__