| 1925 | : ProcessBase(id) {} |
| 1926 | |
| 1927 | void initialize() override |
| 1928 | { |
| 1929 | route( |
| 1930 | "/handler1", |
| 1931 | None(), |
| 1932 | &HTTPEndpointProcess::handler1); |
| 1933 | route( |
| 1934 | "/handler2", |
| 1935 | None(), |
| 1936 | &HTTPEndpointProcess::handler2); |
| 1937 | route( |
| 1938 | "/handler3", |
| 1939 | None(), |
| 1940 | &HTTPEndpointProcess::handler3); |
| 1941 | } |
| 1942 | |
| 1943 | MOCK_METHOD1(handler1, Future<http::Response>(const http::Request&)); |
| 1944 | MOCK_METHOD1(handler2, Future<http::Response>(const http::Request&)); |
nothing calls this directly
no outgoing calls
no test coverage detected