public void HaveNotFoundResultWhenNullValueIsPassedForFormatting()
        {
            var presenter = new UserDetailsPresenter();

            presenter.Present(null);

            presenter.Result.Should()
            .BeOfType <NotFoundResult>();
        }
        public void HaveOkResultWithCorrectContentWhenUserIsPassedForFormatting()
        {
            var presenter = new UserDetailsPresenter();

            presenter.Present(
                AUser.WithUserName("*****@*****.**")
                .WithFirstName("FirstName")
                .WithLastName("LastName"));

            presenter.Result.Should()
            .BeOfType <OkObjectResult>()
            .Which.Value.Should()
            .BeEquivalentTo(
                new UserDetailsResponse
            {
                Email    = "*****@*****.**",
                FullName = "FirstName LastName"
            });
        }