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