public void LoadDocument_UnknownReport_Throws() { var sut = new XmlPrinter(); sut.Invoking(x => x.LoadDocument("XXX")).Should().Throw <ArgumentException>() .WithMessage("*XXX*"); }
public void LoadDocument_TotalsAndBalancesReport_Loaded() { var sut = new XmlPrinter(); sut.Invoking(x => x.LoadDocument(TotalsAndBalancesReport.ResourceName)).Should().NotThrow(); }
public void LoadDocument_AccountJournalReport_Loaded() { var sut = new XmlPrinter(); sut.Invoking(x => x.LoadDocument(AccountJournalReport.ResourceName)).Should().NotThrow(); }