public async Task AssertGetPublicUserIncomesPerMonthReturnsAValidResponseCodeAndCallsManager()
        {
            var action = await _statController.GetPublicUserIncomesPerMonth("1");

            var response = await action.ExecuteAsync(new CancellationToken());

            await _userManager.Received().GetUser(Arg.Any <string>());

            await _betManager.Received().GetUserIncomesPerMonth(Arg.Any <User>());

            Assert.False(response.StatusCode == HttpStatusCode.InternalServerError, "InternalServerError is thrown");
            Assert.IsTrue(response.IsSuccessStatusCode || response.StatusCode == HttpStatusCode.NotFound,
                          "Status code is success or NotFound");
        }
        public async Task AssertThatGetBetsAndMatchesReturnsAValidResponseCodeAndCallsManager()
        {
            InitRequestHelper(HttpMethod.Get.Method);
            var action = await _betController.GetBetsAndMatches(1);

            var response = await action.ExecuteAsync(new CancellationToken());

            await _betManager.Received().GetCurrentBetsAndScheduledMatches(Arg.Any <User>(), Arg.Any <int>());

            Assert.False(response.StatusCode == HttpStatusCode.InternalServerError, "InternalServerError is thrown");
            Assert.IsTrue(response.StatusCode == HttpStatusCode.OK, "Status code is valid");
        }