public void Then_All_History_For_That_Report_Is_Removed() { RepositoryTestHelper .GetAllAuditHistory() .Should() .NotContain( record => record.ReportId == RepositoryTestHelper.ReportTwoId); }
public void Then_All_History_For_Other_Report_Remains_Intact() { RepositoryTestHelper .GetAllAuditHistory() .Should() .OnlyContain( record => record.ReportId == RepositoryTestHelper.ReportOneId); RepositoryTestHelper .GetAllAuditHistory() .Should() .HaveCount( 5); }