public void DropProtocolTest() { string url = "https://www.cnblogs.com/dstang2000/zhong/sheng"; string expectedResult = "www.cnblogs.com/dstang2000/zhong/sheng"; string testResult = UrlService.DropProtocol(url); Assert.AreEqual(expectedResult, testResult); }