private void setMandatoryValues(Properties properties) {
    properties.setProperty("rest.server.router.factory", InMemoryRouterFactory.class.getCanonicalName());
    properties.setProperty("rest.server.response.handler.factory",
        MockRestRequestResponseHandlerFactory.class.getCanonicalName());
    properties.setProperty("rest.server.rest.request.service.factory",
        MockRestRequestServiceFactory.class.getCanonicalName());
    properties.setProperty("rest.server.request.response.handler.factory",
        MockRestRequestResponseHandlerFactory.class.getCanonicalName());
    properties.setProperty("rest.server.nio.server.factory", MockNioServerFactory.class.getCanonicalName());
    properties.setProperty("router.hostname", "localhost");
    properties.setProperty("router.datacenter.name", "dc1");
  }
Set some mandatory values in the {@link Properties} passed in.
@param properties The {@link Properties} to set these values in.
ambry-rest/src/test/java/com/github/ambry/rest/RestServerTest.java