예제 #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>());