Beispiel #1
0
        public void Test_Analyse()
        {
            var mockup  = new MockAnalyser();
            var session = new MockableSession();

            session.Init(new Dictionary <string, Actor> {
            }, mockup, null, null, null);
            session.Analyse(quite: true);

            Assert.Equal(true, mockup.Quite);
        }
Beispiel #2
0
        public void Test_Visualize()
        {
            var mockup  = new MockVisualizer();
            var session = new MockableSession();

            session.Init(new Dictionary <string, Actor> {
            }, null, null, mockup, null);
            session.Name = "Test";
            session.Visualize("TestFolder");

            Assert.Equal("TestFolder", mockup.Folder);
            Assert.Equal(session.Name, mockup.Name);
        }