public void BeforeEachTest()
        {
            var loggerMock = new Mock <ILogger <IMessageService> >();

            _botServiceMock = new Mock <IBotService>();

            _tipServiceMock = new Mock <ITipService>();
            _tipServiceMock.Setup(x => x.TryTip(It.IsAny <string>(), It.IsAny <int>(), It.IsAny <int>())).ReturnsAsync(10);

            _sut = new GroupMessageService(loggerMock.Object, _botServiceMock.Object, _tipServiceMock.Object);
        }
 public GroupMessageViewModel()
 {
     groupMessageService = new GroupMessageService();
     restApi             = App.RestApiService;
     UpdateGroupMessageList();
 }