public void JsonPaths_ReturnsExpectedResults() { foreach (KeyValuePair <EndpointName, string> mapping in ExpectedJsonPaths) { EndpointName endpointName = mapping.Key; string expectedJsonPath = mapping.Value; var pipelineContext = new GetContext <TestEntity>(mapping.Key, null); string actualJsonPath = pipelineContext.JsonPath(); Assert.AreEqual(expectedJsonPath, actualJsonPath); } }