public void CompareEquality(string id1, string id2, string version1, string version2, string targetFramework1,
                                    string targetFramework2, bool expectedResult)
        {
            // Arrange
            var package1 = new PackageInfo {
                Id = id1, Version = version1, TargetFramework = targetFramework1
            };
            var package2 = new PackageInfo {
                Id = id2, Version = version2, TargetFramework = targetFramework2
            };

            // Act
            var result = package1.Equals(package2);

            // Assert
            Assert.That(result, Is.EqualTo(expectedResult));
        }