Пример #1
0
            public FakedClass()
            {
                ParameterListLengthsForAttemptedConstructors.Add(0);
                this.WasParameterlessConstructorCalled = true;

                throw new InvalidOperationException();
            }
Пример #2
0
 public FakedClass(IDisposable someInterface, string someName)
 {
     ParameterListLengthsForAttemptedConstructors.Add(2);
     this.WasTwoParameterConstructorCalled = true;
 }
Пример #3
0
 public FakedClass(ArgumentThatShouldNeverBeResolved argument)
 {
     ParameterListLengthsForAttemptedConstructors.Add(1);
 }
Пример #4
0
 public FakedClass(IDisposable someInterface)
 {
     ParameterListLengthsForAttemptedConstructors.Add(1);
 }