public void TryCreate_WithInvalidPath_ReturnsFalse() { const string path = ":\u0000::"; var factory = new PurePathFactory(); IPurePath tmp; var actual = factory.TryCreate(path, out tmp); Assert.IsFalse(actual); }
public void TryCreate_WithValidPath_ReturnsTrue() { const string path = "C:\\tmp"; var factory = new PurePathFactory(); IPurePath tmp; var actual = factory.TryCreate(path, out tmp); Assert.IsTrue(actual); }