Пример #1
0
 private void GivenTheGetConfigurationReturns(Ocelot.Responses.Response <FileConfiguration> fileConfiguration)
 {
     _repo
     .Setup(x => x.Get())
     .ReturnsAsync(fileConfiguration);
 }
Пример #2
0
 private static bool ConfigurationNotSetUp(Ocelot.Responses.Response <IOcelotConfiguration> ocelotConfiguration)
 {
     return(ocelotConfiguration == null || ocelotConfiguration.Data == null || ocelotConfiguration.IsError);
 }