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