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())); }