public void JsonSerialization_ReturnsCorrectJson()
        {
            var request = new CopyFilesInPackageRequest(
                packageSourceRepository: "a",
                packageId: "b",
                packageVersion: "c",
                filesInPackage: new[] { "d" },
                destinationFolderPath: "e");

            var actualJson = TestUtilities.Serialize(request);

            Assert.Equal("{\"DestinationFolderPath\":\"e\",\"FilesInPackage\":[\"d\"],\"PackageId\":\"b\",\"PackageSourceRepository\":\"a\",\"PackageVersion\":\"c\"}", actualJson);
        }
        public void Constructor_InitializesProperties()
        {
            var request = new CopyFilesInPackageRequest(
                packageSourceRepository: "a",
                packageId: "b",
                packageVersion: "c",
                filesInPackage: new[] { "d" },
                destinationFolderPath: "e");

            Assert.Equal("a", request.PackageSourceRepository);
            Assert.Equal("b", request.PackageId);
            Assert.Equal("c", request.PackageVersion);
            Assert.Equal(new[] { "d" }, request.FilesInPackage);
            Assert.Equal("e", request.DestinationFolderPath);
        }