public void EntityStorage() { var handler = new MockHandlerResolver(new[] { new HandlerMeta(typeof(TestEntity), typeof(int), 2, EfficientInvoker.ForMethod(typeof(TestReceiver), "HandleSignal")) }); var es = new EntityStorage(handler); var entity = new TestEntity(); RunMeasure(() => { var receiver = new TestReceiver(); es.On(entity).Add(receiver); es.On(entity).Send(1); es.On(entity).Remove(receiver); }); }