public void InitializeContext()
            {
                this.currentElement = new Mock <IProductElement>();
                this.mockEvent      = new Mock <IEvent <EventArgs> >();

                this.condition                = new EventSenderMatchesElementCondition();
                this.condition.Event          = this.mockEvent.Object;
                this.condition.CurrentElement = this.currentElement.Object;
            }
 public void InitializeContext()
 {
     this.condition = new EventSenderMatchesElementCondition();
     this.condition.CurrentElement = new Mock <IInstanceBase>().Object;
     this.condition.Event          = new Mock <IEvent <EventArgs> >().Object;
 }