public void DeleteArtifact_Returns404NotFound_WhenIDDoesNotExist()
        {
            mockRepo.Setup(repo => repo.GetArtifactById(0)).Returns(() => null);

            var controller = new ArtifactController(mockRepo.Object, mapper);

            var result = controller.DeleteArtifact(0);

            Assert.IsType <NotFoundResult>(result);
        }
        public void DeleteArtifact_Returns204NoContent_WhenIDExists()
        {
            mockRepo.Setup(repo => repo.GetArtifactById(1)).Returns(new Artifact
            {
                Id       = 1,
                PhotoUrl = "www.heartofthecards.com/millenium-puzzle",
                Title    = "Yugi solves the Millenium Puzzle"
            });

            var controller = new ArtifactController(mockRepo.Object, mapper);

            var result = controller.DeleteArtifact(1);

            Assert.IsType <NoContentResult>(result);
        }