Esempio n. 1
0
        public void ExtractLicenseCode(string url, string expected)
        {
            var actual = NuGetApi.ExtractLicenseCode(url);

            actual.ShouldBe(expected);
        }
Esempio n. 2
0
        public void BeforeEachTest()
        {
            _mockHttp = new MockHttpMessageHandler();

            _sut = new NuGetApi(_mockHttp.ToHttpClient);
        }