示例#1
0
 public void VerifyRevisionCount()
 {
     CollectionAssert.AreEquivalent(new[] { 1, 2 }, AuditReader.GetRevisions(typeof(PropertyAccessEntity), id));
 }
示例#2
0
 public void VerifyRevisionCount()
 {
     CollectionAssert.AreEquivalent(new[] { 1, 2 }, AuditReader.GetRevisions(typeof(BasicTestEntity4), id1));
 }
示例#3
0
 public void VerifyRevisionCount()
 {
     Assert.Throws <NotAuditedException>(() =>
                                         AuditReader.GetRevisions(typeof(BasicTestEntity3), id1)
                                         );
 }