public void Should_execute_configuration_action()
        {
            // Arrange
            var services       = new ServiceCollection();
            var executedAction = false;

            // Act
            services.AddForEvolvePhantomJsHtmlToPdfConverter((options) => executedAction = true);

            // Assert
            Assert.True(executedAction, "optionsAction should be invoked by AddPhantomJsHtmlToPdfConverter()");
            services.AssertSingletonServiceExists <HtmlToPdfConverterOptions>();
        }
 public void HtmlToPdfConverter_to_IHtmlToPdfConverter()
 {
     // Assert
     _services.AssertSingletonServiceExists <IHtmlToPdfConverter, HtmlToPdfConverter>();
 }