public async Task GetDeveloperDetail()
        {
            var sut = new GetProfileDetailQueryHandler(_context, _mapper);

            var result = await sut.Handle(new GetProfileDetailQuery { ProfileId = "HAMZA" }, CancellationToken.None);

            result.ShouldBeOfType <DeveloperProfileDto>();
            result.Id.ShouldBe("HAMZA");
        }
        public async Task Handle_GivenInvalidId_ShouldThrowNotFoundException()
        {
            var invalidId = "ASDFE534E24ER";

            var query = new GetProfileDetailQuery {
                ProfileId = invalidId
            };

            var sut = new GetProfileDetailQueryHandler(_context, _mapper);

            await Assert.ThrowsAsync <NotFoundException>(() => sut.Handle(query, CancellationToken.None));
        }