public void UpdateBotStateFromWorkedToCrashed()
        {
            var botDataContext = new MemoryDataContext();
            var bot            = new BotModel
            {
                Id    = new ObjectId("597dd372ab6fc118d85cc08d"),
                Login = "******",
                State = EBotState.Worked,
            };

            botDataContext.AddBot(bot);
            var botsHandler = new BotRepository(botDataContext);

            botsHandler.UpdateStateBot(bot.Id, EBotState.Crashed);

            var updatedBot = botDataContext.GetBotByLogin("plaprobot");

            Assert.AreEqual(EBotState.Crashed, updatedBot.State, "Bot's state is not updated.");
        }