public void NotEqualToNull()
        {
            PluginDescriptor tested = new PluginDescriptor()
            {
                QualifiedName = typeof(string)
            };

            Assert.IsFalse(tested.Equals(null));
        }
        public void NotEqualToNull()
        {
            PluginDescriptor tested = new PluginDescriptor()
              {
            QualifiedName = typeof(string)
              };

              Assert.IsFalse(tested.Equals(null));
        }
        public void NotEqualIfComparedToOtherType()
        {
            PluginDescriptor tested = new PluginDescriptor()
            {
                QualifiedName = typeof(string)
            };

            object other = "object";

            Assert.IsFalse(tested.Equals(other));
        }
        public void EqualOnlyIfSameQualifiedName()
        {
            PluginDescriptor tested = new PluginDescriptor()
            {
                QualifiedName = typeof(string)
            };

            PluginDescriptor sameName = new PluginDescriptor()
            {
                QualifiedName = typeof(string)
            };

            PluginDescriptor otherName = new PluginDescriptor()
            {
                QualifiedName = typeof(int)
            };

            Assert.IsTrue(tested.Equals(sameName));
            Assert.IsFalse(tested.Equals(otherName));
        }
        public void NotEqualIfComparedToOtherType()
        {
            PluginDescriptor tested = new PluginDescriptor()
              {
            QualifiedName = typeof(string)
              };

              object other = "object";

              Assert.IsFalse(tested.Equals(other));
        }
        public void EqualOnlyIfSameQualifiedName()
        {
            PluginDescriptor tested = new PluginDescriptor()
              {
            QualifiedName = typeof(string)
              };

              PluginDescriptor sameName = new PluginDescriptor()
              {
            QualifiedName = typeof(string)
              };

              PluginDescriptor otherName = new PluginDescriptor()
              {
            QualifiedName = typeof(int)
              };

              Assert.IsTrue(tested.Equals(sameName));
              Assert.IsFalse(tested.Equals(otherName));
        }