示例#1
0
 public void MustHaveStaticCreateMethodFact() =>
 Assert.True(EntityTestHelper.CheckIfEntityHaveStaticCreateMethod <TEntity>());
示例#2
0
 public void PublicOrInternalPropertiesCannotHaveSetAccessorFact() =>
 Assert.True(EntityTestHelper.CheckIfEntityPropertiesHavePublicOrInternalSetAccessor <TEntity>());
示例#3
0
 public void MustHaveOnlyOnePrivateProtectedInternalProtectedConstructorFact() =>
 Assert.True(EntityTestHelper.CheckIfEntityHaveOnlyOnePrivateOrProtectedOrInternalProtectedConstructor <TEntity>());