static (MessageEntrance, ITestableObserver <Response>, TestConfig) Init()
        {
            var config = new TestConfig {
                UtcNow = new DateTimeOffset(2000, 1, 1, 0, 0, 0, 0, TimeSpan.Zero)
            };

            using (var context = MainDbContext.GetInstance(config))
            {
                context.Database.EnsureDeleted();
                context.Database.EnsureCreated();
            }

            var testScheduler = new TestScheduler();
            var testObserver  = testScheduler.CreateObserver <Response>();
            var entrance      = new MessageEntrance(TestLazySocketClient.Default, config);

            entrance.ResponseSent.Subscribe(testObserver);

            return(entrance, testObserver, config);
        }