public void GenerateManifestWithAbsolutePaths() { List <DownloadedBuild> downloadedBuilds = GetSomeShippingAssetsBuilds(); JObject testManifest = ManifestHelper.GenerateDarcAssetJsonManifest(downloadedBuilds, FakeOutputPath, false); var builds = testManifest["builds"].ToList(); builds.Count.Should().Be(FakeBuildCount); for (int i = 0; i < FakeBuildCount; i++) { // Make sure everything has its distinct, correctly calculated target paths var targetPaths = builds[i]["assets"].First()["targets"]; targetPaths[0].Value <string>().Should().Be(@$ "{FakeOutputPath}K\E\Path\SomeAsset.{i}.zip"); targetPaths[1].Value <string>().Should().Be(@$ "{FakeOutputPath}KE\Other\Path\SomeAsset.{i}.zip");