ReviewRevision ISessionAdapter.GetPreviousRevision(ReviewRevision revision) { Assert.That(revision, Is.AnyOf(Revisions.OfType <object>().ToArray())); if (revision.RevisionNumber == 1) { return(null); } return(Revisions.Single(x => x.RevisionNumber == revision.RevisionNumber - 1)); }