Пример #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>());