Ejemplo n.º 1
0
 public void CheckIfEntityHaveOnlyOnePrivateOrProtectedOrInternalProtectedConstructor() =>
 Assert.True(EntityTestHelper.CheckIfEntityHaveOnlyOnePrivateOrProtectedOrInternalProtectedConstructor <CorrectEntitySample>());
Ejemplo n.º 2
0
 public void CheckIfEntityPropertiesHavePublicOrInternalSetAccessor() =>
 Assert.True(EntityTestHelper.CheckIfEntityPropertiesHavePublicOrInternalSetAccessor <CorrectEntitySample>());
Ejemplo n.º 3
0
 public void InternalConstructorNotAllowedForEntities() =>
 Assert.True(EntityTestHelper.CheckIfEntityHaveOnlyOnePrivateOrProtectedOrInternalProtectedConstructor <InternalConstructorEntitySample>());
Ejemplo n.º 4
0
 public void CheckIfEntityHaveStaticCreateMethod() =>
 Assert.True(EntityTestHelper.CheckIfEntityHaveStaticCreateMethod <CorrectEntitySample>());