public void TrimsToLastForwardSlash(ConstructName sut) { sut.Construct("Some/Path/Name") .Should().Be("Name"); }
public void NoTrim(ConstructName sut) { sut.Construct("SomeName") .Should().Be("SomeName"); }
public void EmptyPath(ConstructName sut) { sut.Construct(string.Empty) .Should().Be(ConstructName.FallbackName); }