private void TransformOutbound_InputContainsDash_ResultIsPascalCase(string input) { var slugifyParameterTransformer = new SlugifyParameterTransformer(); var output = slugifyParameterTransformer.TransformOutbound(input); Assert.Equal("url-example", output); }
public void TransformOutbound() { // Arrange const string route = "TestRoute"; var slugifyParameterTransformer = new SlugifyParameterTransformer(); // Act var response = slugifyParameterTransformer.TransformOutbound(route); // Assert Assert.Equal("test-route", response); }