public PowerBreakdownTests() { httpFacade = Substitute.For <IElectricityMapHttpFacade>(); sut = new ElectricityMapClient(httpFacade); }
public ElectricityMapClientInterfaceTests() { httpFacade = Substitute.For <IElectricityMapHttpFacade>(); }
/// <summary> /// Initializes a new instance of the <see cref="ElectricityMapClient"/> class. /// </summary> /// <param name="httpFacade"></param> public ElectricityMapClient(IElectricityMapHttpFacade httpFacade) { this.httpFacade = httpFacade; }
public CarbonIntensityTests() { httpFacade = Substitute.For <IElectricityMapHttpFacade>(); sut = new ElectricityMapClient(httpFacade); }
public ZoneTests() { httpFacade = Substitute.For <IElectricityMapHttpFacade>(); sut = new ElectricityMapClient(httpFacade); }