예제 #1
0
        public void DefaultConstructorTest()
        {
            var test = new RouteStage();

            Assert.AreEqual <string>(test.ID, "");
            Assert.AreEqual <string>(test.Action, "");
        }
예제 #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);
        }