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