public void DefaultSignalContext() { var entity = Object.Instantiate(new GameObject()); var recorder = new Recorder(); var handler = (ESHandler <GameObject, int>)((a1, a2) => { recorder.Record("First", a1, a2); }); ES.On(entity).Add(handler); Assert.AreEqual(1, ES.On(entity).Count); ES.On(entity).Send(1); ES.Dispose(); Assert.AreEqual(0, ES.On(entity).Count); recorder.Verify("First", entity, 1); }