private static ICitation GetCitationPage(int firstPage, int lastPage, IPublication publication) { var key = $"{firstPage}-{lastPage}"; if (!citations.Keys.Contains(key)) { citations[key] = new ApaCitation(new SimplePageRange(firstPage, lastPage), publication); } return(citations[key]); }
private static void AssertCitation(string expectedLine, ApaCitation citation) { var actualLine = citation.ToString(); AssertCitation(expectedLine, actualLine); }