Exemplo n.º 1
0
        public void DefaultConstructorTest()
        {
            var test = new RouteStage();

            Assert.AreEqual <string>(test.ID, "");
            Assert.AreEqual <string>(test.Action, "");
        }
Exemplo n.º 2
0
        public void ConstructorTest()
        {
            string id     = "testID";
            string action = "myCustomAction";
            var    test   = new RouteStage(id, action);

            Assert.AreEqual <string>(test.ID, id);
            Assert.AreEqual <string>(test.Action, action);
        }