void ITestStream.Sentence(Sentence sentence, IStep step) { var tag = new SentenceTag(sentence, step); tag.WritePreview(_context); _document.Add(tag); }
public void SetUp() { sentence = Sentence.For("{name} is {age}", Cell.For<string>("name"), Cell.For<int>("age")); step = new Step().With("name:Max,age:6"); tag = new SentenceTag(sentence, step); context = new TestContext(); tag.WritePreview(context); }