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