Beispiel #1
0
 /// <summary>
 /// By definition, Enumerations are not to have Public Constructors.
 /// </summary>
 /// <see cref="NullInstance"/>
 /// <see cref="EnumerationTestCaseExtensionMethods.ShallNotHaveAnyPublicCtors{T}"/>
 public virtual void Shall_Not_Have_Any_Public_Ctors() => NullInstance.ShallNotHaveAnyPublicCtors(Reporter);
 public void Does_Have_One_Public_Ctor() => GetSingle <Action>(() => NullInstance.ShallNotHaveAnyPublicCtors()).AssertThrows <EmptyException>();