diff --git a/NzbDrone.Common.Test/MessagingTests/CommandEqualityComparerFixture.cs b/NzbDrone.Common.Test/MessagingTests/CommandEqualityComparerFixture.cs index f5e73f676..2f62655ab 100644 --- a/NzbDrone.Common.Test/MessagingTests/CommandEqualityComparerFixture.cs +++ b/NzbDrone.Common.Test/MessagingTests/CommandEqualityComparerFixture.cs @@ -62,5 +62,14 @@ namespace NzbDrone.Common.Test.MessagingTests CommandEqualityComparer.Instance.Equals(command1, command2).Should().BeFalse(); } + + [Test] + public void should_return_false_when_only_one_has_properties() + { + var command1 = new SeasonSearchCommand(); + var command2 = new SeasonSearchCommand { SeriesId = 2, SeasonNumber = 2 }; + + CommandEqualityComparer.Instance.Equals(command1, command2).Should().BeFalse(); + } } }