public void WhenObjectEqualsDate1EqualsDate2_ExpectTrueReturned()
        {
            // Arrange
            var date1 = new DateTime(2015, 10, 15);
            object date2 = new DateTime(2015, 10, 15);
            const bool expected = true;

            // Act
            var target1 = new DateTimeWrap(date1);
            var target2 = date2;
            var actual = target1.Equals(target2);

            // Assert
            actual.Should().Equal(expected);
        }
        public void WhenNotEqualsDate1EqualsDate2_ExpectTrueReturned()
        {
            // Arrange
            var date1 = new DateTime(2015, 10, 15);
            var date2 = new DateTime(2015, 10, 15).AddDays(15);
            const bool expected = false;

            // Act
            var target1 = new DateTimeWrap(date1);
            var target2 = new DateTimeWrap(date2);
            var actual = target1.Equals(target1, target2);

            // Assert
            actual.Should().Equal(expected);
        }
        public void WhenEqualsCalled_ExpectFalseReturned()
        {
            // Arrange
            var now = DateTime.Now;
            const bool expected = false;

            // Act
            var target = new DateTimeWrap(now);
            var actual = target.Equals(target);

            // Assert
            actual.Should().Equal(expected);
        }