public void WhenToBinaryCalled_ExpectExpectedValueReturned() { // Arrange var date = new DateTime(2015, 10, 15); var expected = date.ToBinary(); // Act var target = new DateTimeWrap(date); var actual = target.ToBinary(); // Assert actual.Should().Equal(expected); }