Equals() public method

Indicates whether the current object is equal to another object of the same type.
public Equals ( IParameter other ) : bool
other IParameter An object to compare with this object.
return bool
        public void InstancesAreNotEqual()
        {
            var firstInstance = new TypeMatchingConstructorArgument(typeof(Samurai), (context, target) => null);
            var secondInstance = new TypeMatchingConstructorArgument(typeof(Ninja), (context, target) => null);

            var result = firstInstance.Equals(secondInstance);

            result.Should().BeFalse();
        }