| 1854 | : ProcessBase("id(42)") {} |
| 1855 | |
| 1856 | void initialize() override |
| 1857 | { |
| 1858 | install("handler1", &Self::handler1); |
| 1859 | route("/handler2", None(), &Self::handler2); |
| 1860 | } |
| 1861 | |
| 1862 | MOCK_METHOD2(handler1, void(const UPID&, const string&)); |
| 1863 | MOCK_METHOD1(handler2, Future<http::Response>(const http::Request&)); |