public void DefaultCflowIsNotUnderThisTestAndSomeRandomMethodName()
        {
            IControlFlow cflow   = ControlFlowFactory.CreateControlFlow();
            bool         isUnder = cflow.Under(GetType(), "PlayingYouALikeTheFoolYouAre");

            Assert.IsFalse(isUnder, string.Format(
                               "The IControlFlow implementation created by the ControlFlowFactory factory class " +
                               "would appear to have a faulty Under(Type,string) implementation : [{0}]",
                               cflow.GetType()));
        }
        public void DefaultCflowUnderThisTestAndTestMethodName()
        {
            IControlFlow cflow   = ControlFlowFactory.CreateControlFlow();
            bool         isUnder = cflow.Under(GetType(), MethodBase.GetCurrentMethod().Name);

            Assert.IsTrue(isUnder, string.Format(
                              "The IControlFlow implementation created by the ControlFlowFactory factory class " +
                              "would appear to have a faulty Under(Type,string) implementation : [{0}]",
                              cflow.GetType()));
        }
        public void DefaultCflowIsNotUnderSomeArbitraryToken()
        {
            IControlFlow cflow   = ControlFlowFactory.CreateControlFlow();
            bool         isUnder = cflow.UnderToken("GoatsCheeseAndSoda");

            Assert.IsFalse(isUnder, string.Format(
                               "The IControlFlow implementation created by the ControlFlowFactory factory class " +
                               "would appear to have a faulty UnderToken(string) implementation : [{0}]",
                               cflow.GetType()));
        }
        public void DefaultCflowUnderToken()
        {
            IControlFlow cflow   = ControlFlowFactory.CreateControlFlow();
            bool         isUnder = cflow.UnderToken("Cflow");

            Assert.IsTrue(isUnder, string.Format(
                              "The IControlFlow implementation created by the ControlFlowFactory factory " +
                              "class would appear to have a faulty UnderToken(string) implementation : [{0}]",
                              cflow.GetType()));
        }
        public void DefaultCflowIsNotUnderSomeArbitraryClass()
        {
            IControlFlow cflow   = ControlFlowFactory.CreateControlFlow();
            bool         isUnder = cflow.Under(typeof(TestObject));

            Assert.IsFalse(isUnder, string.Format(
                               "The IControlFlow implementation created by the ControlFlowFactory factory class " +
                               "would appear to have a faulty Under(Type) implementation : [{0}]", cflow.GetType()));
        }