public void ReturnsUsings() { // act var cmd = new UsingsCommand(); // assert cmd.CommandName.ShouldEqual("usings"); }
public void ShouldReturnNamespacesFromExecutor() { var ns = new List<string> {"System"}; _repl.SetupGet(x => x.Namespaces).Returns(ns); var cmd = new UsingsCommand(); var result = cmd.Execute(_repl.Object, null); result.ShouldBeSameAs(ns); }