public void SeparatorsAreNotInNameWithoutPrefixOrSuffix()
 {
     using var tempDirectory = new TempDirectoryBuilder()
                               .PrefixSeparator(PrefixSeparator)
                               .SuffixSeparator(SuffixSeparator)
                               .Create();
     Assert.DoesNotContain(PrefixSeparator, tempDirectory.Name);
     Assert.DoesNotContain(SuffixSeparator, tempDirectory.Name);
 }
 public void SeparatorsAreInName()
 {
     using var tempDirectory = new TempDirectoryBuilder()
                               .Prefix(Prefix)
                               .PrefixSeparator(PrefixSeparator)
                               .Suffix(Prefix)
                               .SuffixSeparator(SuffixSeparator)
                               .Create();
     Assert.Contains(PrefixSeparator, tempDirectory.Name);
     Assert.Contains(SuffixSeparator, tempDirectory.Name);
 }
 public void SuffixIsInName()
 {
     using var tempDirectory = new TempDirectoryBuilder().Suffix(Suffix).Create();
     Assert.EndsWith(Suffix, tempDirectory.Name);
 }
 public void PrefixIsInName()
 {
     using var tempDirectory = new TempDirectoryBuilder().Prefix(Prefix).Create();
     Assert.StartsWith(Prefix, tempDirectory.Name);
 }