public void GetMapping() { Mapping mapping = _adapterProvider.GetMapping( _settings["ProjectName"], _settings["ApplicationName"]); Assert.AreNotEqual(0, mapping.graphMaps.Count); }
public Mapping GetMapping(string scope, string app) { try { OutgoingWebResponseContext context = WebOperationContext.Current.OutgoingResponse; context.ContentType = "application/xml"; return(_adapterProvider.GetMapping(scope, app)); } catch (Exception ex) { CustomErrorLog objCustomErrorLog = new CustomErrorLog(); _CustomError = objCustomErrorLog.customErrorLogger(ErrorMessages.errGetMapping, ex, _logger); objCustomErrorLog.throwJsonResponse(_CustomError); return(null); } }