public void Equals_ObjectNull_ReturnsFalse()
        {
            var queryPart = new InlineCountQueryPart(InlineCountType.None);
            object other = null;

            var actual = queryPart.Equals(other);

            Assert.That(actual, Is.False);
        }
        public void Equals_ObjectOfDifferentType_ReturnsFalse()
        {
            var queryPart = new InlineCountQueryPart(InlineCountType.None);
            object other = String.Empty;

            var actual = queryPart.Equals(other);

            Assert.That(actual, Is.False);
        }
        public void Equals_AnotherDifferentInlineCountQueryPart_ReturnsFalse()
        {
            var queryPart = new InlineCountQueryPart(InlineCountType.None);
            var other = new InlineCountQueryPart(InlineCountType.AllPages);

            var actual = queryPart.Equals(other);

            Assert.That(actual, Is.False);
        }
        public void Equals_ObjectAnotherEquivalentInlineCountQueryPart_ReturnsTrue()
        {
            var queryPart = new InlineCountQueryPart(InlineCountType.None);
            object other = new InlineCountQueryPart(InlineCountType.None);

            var actual = queryPart.Equals(other);

            Assert.That(actual, Is.True);
        }
        public void Equals_ObjectAnotherEquivalentInlineCountQueryPart_ReturnsTrue()
        {
            var    queryPart = new InlineCountQueryPart(InlineCountType.None);
            object other     = new InlineCountQueryPart(InlineCountType.None);

            var actual = queryPart.Equals(other);

            Assert.That(actual, Is.True);
        }
        public void Equals_AnotherDifferentInlineCountQueryPart_ReturnsFalse()
        {
            var queryPart = new InlineCountQueryPart(InlineCountType.None);
            var other     = new InlineCountQueryPart(InlineCountType.AllPages);

            var actual = queryPart.Equals(other);

            Assert.That(actual, Is.False);
        }
        public void Equals_Self_ReturnsTrue()
        {
            var queryPart = new InlineCountQueryPart(InlineCountType.None);
            var other     = queryPart;

            var actual = queryPart.Equals(other);

            Assert.That(actual, Is.True);
        }
        public void Equals_ObjectOfDifferentType_ReturnsFalse()
        {
            var    queryPart = new InlineCountQueryPart(InlineCountType.None);
            object other     = String.Empty;

            var actual = queryPart.Equals(other);

            Assert.That(actual, Is.False);
        }
        public void Equals_InlineCountQueryPartNull_ReturnsFalse()
        {
            var queryPart = new InlineCountQueryPart(InlineCountType.None);
            InlineCountQueryPart other = null;

            var actual = queryPart.Equals(other);

            Assert.That(actual, Is.False);
        }
        public void Equals_Self_ReturnsTrue()
        {
            var queryPart = new InlineCountQueryPart(InlineCountType.None);
            var other = queryPart;

            var actual = queryPart.Equals(other);

            Assert.That(actual, Is.True);
        }