public void GivenPascalCaseName_ReturnsDashedName() { const string name = "InputSpecification"; var result = CamelCase.ToDashedName(name); result.Should().Be("input-specification"); }
public void GivenString_ReturnsExpectedValue(string original, string expected) { CamelCase.ToDashedName(original).Should().Be(expected); }
public void GivenNull_ThrowsException() { Assert.Throws <ArgumentNullException>( () => CamelCase.ToDashedName(null)); }