ExpectEvent() public method

public ExpectEvent ( object target, string eventName ) : void
target object
eventName string
return void
Ejemplo n.º 1
0
        public void Expect(object target, string eventName, params object[] args)
        {
            EventExpectation expectation = new EventExpectation();

            expectation.ExpectEvent(target, eventName, args);
            expectations.Add(expectation);
        }
Ejemplo 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);
 }