public void FormatConfigCommand() { string input = Path.Combine("test", "path", "with spaces", "test.exe"); string expected = ". \"" + Path.Combine("test", "path", "with spaces", "config.ps1") + "\""; Assert.AreEqual(expected, FullHost.FormatConfigCommand(input)); }
private void CreateFreshHostAndUI(bool interactive) { HostUI = new TestHostUserInterface(); FullHost = new FullHost(interactive); FullHost.LocalHost.SetHostUserInterface(HostUI); }