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