public void WhenGetHashCodeCalled_ExpectSameValueReturned() { // Arrange var today = DateTime.Today; var expected = today.GetHashCode(); // Act var target = new DateTimeWrap(today); var actual = target.GetHashCode(); // Assert actual.Should().Equal(expected); }