public SendGridEmailService(SendGridOptions options) { this.Options = Guard.Null(nameof(options), options); }
public void WhenCalled_SetsApiKey() { var options = new SendGridOptions("key"); Assert.Equal("key", options.ApiKey); }
public SendGridEmailService(SendGridOptions options) { this.Options = Guard.Null(nameof(options), options); }
public void WhenCalled_SetsApiKey() { var options = new SendGridOptions("key"); Assert.Equal("key", options.ApiKey); }