public FakedClass() { ParameterListLengthsForAttemptedConstructors.Add(0); this.WasParameterlessConstructorCalled = true; throw new InvalidOperationException(); }
public FakedClass(IDisposable someInterface, string someName) { ParameterListLengthsForAttemptedConstructors.Add(2); this.WasTwoParameterConstructorCalled = true; }
public FakedClass(ArgumentThatShouldNeverBeResolved argument) { ParameterListLengthsForAttemptedConstructors.Add(1); }
public FakedClass(IDisposable someInterface) { ParameterListLengthsForAttemptedConstructors.Add(1); }