Пример #1
0
 [SetUp] public void SetUp()
 {
     fixture = new TestDoFixture {
         Processor = new Service.Service()
     };
     keywords = new FlowKeywords(fixture, fixture.Processor);
 }
Пример #2
0
 public void NameKeywordAssignsASymbol()
 {
     var fixture = new TestDoFixture { Processor = new CellProcessorBase() };
     var keywords = new FlowKeywords(fixture);
     Parse table = Parse.ParseFrom("<table><tr><td>name</td><td>symbol</td><td>stuff</td></tr></table>");
     keywords.Name(table.Parts.Parts);
     Assert.AreEqual("some stuff", fixture.NamedFixture("symbol"));
     Assert.AreEqual("some stuff", fixture.Processor.Load(new Symbol("symbol")).Instance);
 }
Пример #3
0
 public void SetUp()
 {
     fixture = new TestDoFixture { Processor = new Service.Service() };
     keywords = new FlowKeywords(fixture, fixture.Processor);
 }