Example #1
0
 /// <summary>
 /// Static constructor--assigns the test dumper implementation a default value.
 /// </summary>
 static TestUtil()
 {
     // create a default method call dumper to assign to the default state
     // recorder. This won't include any ignore targets.
     var methodDumper = new MethodCallDumper();
     recorder = new TestStateRecorder(methodDumper);
 }
Example #2
0
 /// <summary>
 /// Invokes the setter for the state recorder property on the wrapped <see cref="TestUtil"/> type.
 /// </summary>
 /// <param name="toSet">
 /// The value to set.
 /// </param>
 public void InvokeStateRecorderPropertySet(ITestStateRecorder toSet)
 {
     this.StateRecorderPropSetter.Invoke(this.testUtil, new object[] { toSet });
 }