public async Task GetHealthResponseAsync_Will_ThrowWhenServiceProviderIsNull() { var options = new GenkiOptions(); await Assert .ThrowsAsync <ArgumentNullException>( async() => await options.GetHealthResponseAsync(null)); }
public void GetEndpoint_Will_AlwaysReturnStartingWithForwardSlash(string endpoint) { // Set up var options = new GenkiOptions { Endpoint = endpoint }; // Assert Assert.True(options.GetEndpoint().StartsWith("/")); }