コード例 #1
0
ファイル: EventsVerifier.cs プロジェクト: LenaLenina/TDD
        public void ExpectNoEvent(object target, string eventName)
        {
            EventExpectation expectation = new EventExpectation();

            expectation.ExpectNoFire(target, eventName);
            expectations.Add(expectation);
        }
コード例 #2
0
ファイル: EventsVerifier.cs プロジェクト: LenaLenina/TDD
        public void Expect(object target, string eventName, params object[] args)
        {
            EventExpectation expectation = new EventExpectation();

            expectation.ExpectEvent(target, eventName, args);
            expectations.Add(expectation);
        }