public void Resolve(string path, string expectedResult) { WindowsVirtualPathResolver resolver = new WindowsVirtualPathResolver(); string resolve = resolver.Resolve(path); Assert.AreEqual(Environment.CurrentDirectory + "\\" + expectedResult, resolve); }
public void Resolve_WithNullPath() { WindowsVirtualPathResolver resolver = new WindowsVirtualPathResolver(); Assert.Throws<ArgumentNullException>(() => resolver.Resolve(null)); }