Example #1
0
        public async Task Test()
        {
            Setup();
            _factory.Find();
            var hParams = new HandlerParams(null, new Update(), _services.BuildServiceProvider(), "test");
            await _factory.ExecuteHandler(hParams);

            Assert.True(_proxy.Acessed);
            Assert.True(_proxy.Executed);
        }
Example #2
0
 protected override async Task Process()
 {
     await _factory.ExecuteHandler(HandlerParams);
 }