public async void Sut_GetAdvisor_ShouldReturnsNotFoundResult_WhenNoAdvisorWasFound(
            AdvisorController sut,
            int id)
        {
            sut.AdvisorRepository.GetAdvisorByIDAsync(id).Returns(Task.FromResult((Advisor)null));

            var result = await sut.GetAdvisor(id);

            var notFoundResult = result.Result as StatusCodeResult;

            notFoundResult.Should().NotBeNull();
            notFoundResult.Should().BeOfType <NotFoundResult>();
            notFoundResult.StatusCode.Should().Be(StatusCodes.Status404NotFound);
        }
        public async void Sut_GetAdvisor_ShouldReturnsAnAdvisorWithOkResult_WhenTheAdvisorWasFound(
            AdvisorController sut,
            Advisor advisor)
        {
            sut.AdvisorRepository.GetAdvisorByIDAsync(advisor.Id).Returns(Task.FromResult(advisor));

            var result = await sut.GetAdvisor(advisor.Id);

            var okResult = result.Result as ObjectResult;

            okResult.Should().NotBeNull();
            okResult.Should().BeOfType <OkObjectResult>();
            okResult.StatusCode.Should().Be(StatusCodes.Status200OK);
            okResult.Value.Should().Be(advisor);
        }