public void GetLicenseUrl(string url, string expected) { GitHubApi.GetLicenseUrl(new Uri(url)).ShouldBe(expected); }
public void BeforeEachTest() { _mockHttp = new MockHttpMessageHandler(); _sut = new GitHubApi(_mockHttp.ToHttpClient); }