예제 #1
0
        public void ExtractLicenseCode(string url, string expected)
        {
            var actual = NuGetApi.ExtractLicenseCode(url);

            actual.ShouldBe(expected);
        }
예제 #2
0
        public void BeforeEachTest()
        {
            _mockHttp = new MockHttpMessageHandler();

            _sut = new NuGetApi(_mockHttp.ToHttpClient);
        }