Ejemplo n.º 1
0
        public void AnyEventRaised()
        {
            //var args = MockRepository.GenerateStub<BuildEventArgs>();

            //testObject.AnyEventRaised += (sender, args) => { count++; Assert.AreEqual(this, sender); Assert.IsNull(args); };
            SubscribeToAllEvents();
            testObject.FireAnyEvent(this, null);
            Assert.AreEqual("AnyEventRaised", this.count);

            // args.VerifyAllExpectations();
        }