private IEnumerable<string> GetResult(string text) { var mock = new Mock<IRunner>(); mock.Setup(o => o.WorkingDirectory).Returns(Path.Combine(Environment.CurrentDirectory, "Test")); _argument = ArgumentFactory.Create(mock.Object, text); return _argument.Complete(); }
private IEnumerable<string> GetResult(string text) { _argument = new TestArgument(text); return _argument.Complete(); }