protected static void Because_of() { entity = ExchangeData.CreateEntityWithTwoDetailsAndTwoMappings(); client = new HttpClient(ServiceUrl["Exchange"] + "crossmap?source-system=trayport&destination-system=endur&mapping-string=" + entity.Mappings[0].MappingValue + "&as-of=" + entity.Mappings[0].Validity.Start.ToString(DateFormatString)); response = client.Get(); mappingResponse = response.Content.ReadAsDataContract <EnergyTrading.Mdm.Contracts.MappingResponse>(); }
protected static void Establish_context() { exchange = ExchangeData.CreateEntityWithTwoDetailsAndTwoMappings(); }