示例#1
0
 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();
 }
示例#2
0
 private IEnumerable<string> GetResult(string text)
 {
     _argument = new TestArgument(text);
     return _argument.Complete();
 }