示例#1
0
 public void TrimsToLastForwardSlash(ConstructName sut)
 {
     sut.Construct("Some/Path/Name")
     .Should().Be("Name");
 }
示例#2
0
 public void NoTrim(ConstructName sut)
 {
     sut.Construct("SomeName")
     .Should().Be("SomeName");
 }
示例#3
0
 public void EmptyPath(ConstructName sut)
 {
     sut.Construct(string.Empty)
     .Should().Be(ConstructName.FallbackName);
 }