public void Message_ContainsCorrectText() { var e = new InvalidApiKeyException(); Assert.Equal("The API key is unknown or expired", e.Message); }
public void Is_HaveIBeenPwnedClientException() { var e = new InvalidApiKeyException(); Assert.IsAssignableFrom <HaveIBeenPwnedClientException>(e); }