/// <summary>
 /// Initializes a new instance of the <see cref="CriticalSectionMock" /> class with the specified <see cref="CriticalSectionMockBehavior" />.
 /// </summary>
 /// <param name="behavior">The behavior.</param>
 public CriticalSectionMock(CriticalSectionMockBehavior behavior)
 {
     Behavior = behavior;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CriticalSectionMockInternal" /> class with the specified <see cref="CriticalSectionMockBehavior" />.
 /// </summary>
 /// <param name="behavior">The behavior.</param>
 public CriticalSectionMockInternal(CriticalSectionMockBehavior behavior)
 {
     _criticalSectionMock = new CriticalSectionMock(behavior);
 }