Пример #1
0
 private bool SupportsPrintTo()
 {
     return(_fileAssoc.HasPrintTo(Path.GetExtension(Filename)));
 }
 public void FileAssocHasPrint_GivenDot_ThrowsException()
 {
     Assert.Throws <ArgumentException>(() => _fileAssoc.HasPrintTo("."));
 }