public void AddListener_Single() { const string log = nameof(log); _eventService.AddListener(delegate(ref EventRef <TestEvent> testEvent) { Debug.Log(log); }); LogAssert.Expect(LogType.Log, log); _eventService.Invoke(this, new TestEvent()); }