Example #1
0
        public override void SetUp()
        {
            base.SetUp();

            Event.Register(Substitute.For <IListener>());
            Event.Register(Substitute.For <IListener>());
        }
Example #2
0
        public override void SetUp()
        {
            base.SetUp();

            IListener listener = Substitute.For <IListener>();

            Event.Register(listener);
            Event.Unregister(listener);
        }
Example #3
0
        public override void SetUp()
        {
            base.SetUp();

            listener0 = Substitute.For <IListener>();
            listener1 = Substitute.For <IListener>();
            listener2 = Substitute.For <IListener>();

            Event.Register(listener0);
            Event.Register(listener1);
            Event.Register(listener2);

            Event.Unregister(listener1);
        }
Example #4
0
 public virtual void SetUp()
 {
     Event = ScriptableObject.CreateInstance <Event>();
 }
Example #5
0
        public override void SetUp()
        {
            base.SetUp();

            Event.Invoke();
        }