public void SourceGeneratedCorrectly() { var sourceAssembly = HttpRequestHeadersExtensions.GetOriginatingAssembly(); var sourceFileVersionInfo = FileVersionInfo.GetVersionInfo(sourceAssembly.Location); var sourceVersion = sourceFileVersionInfo.ProductVersion; // Act var source = HttpRequestHeadersExtensions.GetSource(); // Assert Assert.Equal($"Kentico.Kontent.Delivery.Tests;{sourceVersion}", source); }