protected static void Because_of() { entity = BrokerData.CreateBasicEntityWithOneMapping(); mapping = entity.Mappings[0]; client = new HttpClient(ServiceUrl["Broker"] + string.Format("{0}/mapping/{1}", entity.Id, mapping.Id)); response = client.Get(); mappingResponse = response.Content.ReadAsDataContract<EnergyTrading.Mdm.Contracts.MappingResponse>(); }
protected static void Because_of() { entity = BrokerData.CreateBasicEntityWithOneMapping(); mapping = entity.Mappings[0]; client = new HttpClient(ServiceUrl["Broker"] + string.Format("{0}/mapping/{1}", entity.Id, mapping.Id)); response = client.Get(); mappingResponse = response.Content.ReadAsDataContract <EnergyTrading.Mdm.Contracts.MappingResponse>(); }