public void TearDown() { Console.WriteLine(MethodBase.GetCurrentMethod().Name); Console.WriteLine(XmlSerializationHelper.ToXml(_container)); }
//[Test] //public void Repeat() //{ // Console.WriteLine(MethodBase.GetCurrentMethod().Name); // var gen = new InputGenerator(); // var definition = ExpressionProvider.Repeat(); // var viewModel = new ExpressionInstanceVM(definition); // var a = viewModel.GetInput("a"); // a.OnNext2("a"); // a.OnNext2("b"); // a.OnNext2(""); // a.OnNext2("a"); // a.OnNext2("b"); // AddDiagram("Repeat", viewModel.Diagram); //} private void AddDiagram(string id, Diagram diagram) { diagram.Id = id; Console.WriteLine(XmlSerializationHelper.ToXml(diagram)); _container.Diagrams.Add(diagram); }