ExpectEvent() public méthode

public ExpectEvent ( object target, string eventName ) : void
target object
eventName string
Résultat void
        public void Expect(object target, string eventName, params object[] args)
        {
            EventExpectation expectation = new EventExpectation();

            expectation.ExpectEvent(target, eventName, args);
            expectations.Add(expectation);
        }
Exemple #2
0
 public void Expect(object target, string eventName, params object[] args)
 {
     EventExpectation expectation = new EventExpectation();
     expectation.ExpectEvent(target, eventName, args);
     expectations.Add(expectation);
 }