public void CustomizeWithNullThrowsArgumentNullException()
 {
     // Fixture setup
     var sut = new CurrentDateTimeCustomization();
     // Exercise system and verify outcome
     Assert.Throws(typeof(ArgumentNullException), () => sut.Customize(null));
     // Teardown
 }
 public void CustomizeAddsCurrentDateTimeGeneratorToFixture()
 {
     // Fixture setup
     var fixture = new Fixture();
     var sut = new CurrentDateTimeCustomization();
     // Exercise system
     sut.Customize(fixture);
     // Verify outcome
     Assert.True(fixture.Customizations.OfType<CurrentDateTimeGenerator>().Any());
     // Teardown
 }