Exemplo n.º 1
0
 public void ExpectNoEvent(object target, string eventName)
 {
     EventExpectation expectation = new EventExpectation();
     expectation.ExpectNoFire(target, eventName);
     expectations.Add(expectation);
 }
Exemplo n.º 2
0
 public void Expect(object target, string eventName, params object[] args)
 {
     EventExpectation expectation = new EventExpectation();
     expectation.ExpectEvent(target, eventName, args);
     expectations.Add(expectation);
 }