コード例 #1
0
        public static PingController GetPingController(JToken httpRequestBody = null, Dictionary <string, string> querystring = null, Dictionary <string, string> headers = null)
        {
            var logger          = new LoggerMock();
            var httpProxy       = CommonExtensions.GetHttpProxyMock(httpRequestBody, querystring, headers);
            var responseBuilder = new ZNxt.Net.Core.Helpers.ResponseBuilder(logger, logger);

            return(new PingController(httpProxy, CommonExtensions.GetDBService(httpProxy), CommonExtensions.GetRDBService(httpProxy), logger, responseBuilder));
        }