public async Task Get_Returns_400_ifIdIsNull()
        {
            //Arrange
            var target = new PackageController(new Mock <IPackageRepository>().Object, new Mock <ILogger <PackageController> >().Object);

            //Act
            var result = await target.Get(null) as BadRequestResult;

            //Assert
            Assert.NotNull(result);

            Assert.Equal(400, result.StatusCode);
        }
        public async Task Get_Returns_404_IfPackageNotValid()
        {
            //Arrange
            var target = new PackageController(new Mock <IPackageRepository>().Object, new Mock <ILogger <PackageController> >().Object);

            //Act
            var result = await target.Get("InvalidId") as NotFoundResult;

            //Assert
            Assert.NotNull(result);

            Assert.Equal(404, result.StatusCode);
        }