public void ExtractLicenseCode(string url, string expected) { var actual = NuGetApi.ExtractLicenseCode(url); actual.ShouldBe(expected); }
public void BeforeEachTest() { _mockHttp = new MockHttpMessageHandler(); _sut = new NuGetApi(_mockHttp.ToHttpClient); }