示例#1
0
 public void TypesAreInitialized()
 {
     Assert.IsTrue(Array.Exists(ActiveRecordStarter.GetRegisteredTypes(), t => t.Equals(typeof(Blog))));
     Assert.IsTrue(Array.Exists(ActiveRecordStarter.GetRegisteredTypes(), t => t.Equals(typeof(OtherDbBlog))));
 }
示例#2
0
 public void TypeIsInitialized()
 {
     Assert.IsTrue(Array.Exists(ActiveRecordStarter.GetRegisteredTypes(), t => t.Equals(typeof(ActiveRecordClass))));
 }