protected static void Because_of() { entity = LegalEntityData.CreateEntityWithTwoDetailsAndTwoMappings(); client = new HttpClient(ServiceUrl["LegalEntity"] + "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() { legalentity = LegalEntityData.CreateEntityWithTwoDetailsAndTwoMappings(); }