public void DllMapPathTest() { var path = "~/App_Data/log.log"; var result = ServerUtility.DllMapPath(path); Console.WriteLine(result); Assert.IsTrue(result.EndsWith(@"\bin\Test\netcoreapp2.1\App_Data\log.log")); }