public void IfTwoClassesWithDifferentNamesAreNotEqual()
 {
     var package1 = new PackageVersion();
     var package2 = new PackageVersion();
     package1.Name = "test";
     package2.Name = "test2";
     Assert.IsFalse(package1.Equals(package2));
 }
 public void IfTwoClassesWithTheSameNameAreEqual()
 {
     var package1 = new PackageVersion();
     var package2 = new PackageVersion();
     package1.Name = "test";
     package2.Name = "test";
     Assert.IsTrue(package1.Equals(package2));
 }
 public void IfTwoClassesWithOneClassNotAPackageVersionAreNotEqual()
 {
     var package1 = new PackageVersion();
     var package2 = new Object();
     package1.Name = "test";
     Assert.IsFalse(package1.Equals(package2));
 }