Unit tests for SmartRest
Dependencies: C027 SmartRest mbed
Diff: mock/MockSmartRest.h
- Revision:
- 0:789029e49ea1
diff -r 000000000000 -r 789029e49ea1 mock/MockSmartRest.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mock/MockSmartRest.h Mon Mar 24 10:12:45 2014 +0000 @@ -0,0 +1,16 @@ +#ifndef MOCKSMARTREST_H +#define MOCKSMARTREST_H + +#include <SmartRest.h> +#include "MockClient.h" + +class MockSmartRest : public SmartRest +{ +public: + MockSmartRest(const char*); + MockClient& client(); +private: + MockClient _client; +}; + +#endif