public void CreateTerminatorsComponentCorrectly(string text, Type type)
        {
            var interpreter = new TerminatorInterpreter();
            var result      = interpreter.Interpret(text,
                                                    new SkillFlowInterpretationContext(new SkillFlowInterpretationOptions()));

            Assert.IsType(type, result.Component);
        }
        public void CorrectlyIdentifiesText()
        {
            var interpreter = new TerminatorInterpreter();
            var context     = new SkillFlowInterpretationContext(new SkillFlowInterpretationOptions());

            context.Components.Push(new SceneInstructions());
            Assert.True(interpreter.CanInterpret(">> RESTART", context));
        }
        public void CorrectlyIdentifiesFalseText()
        {
            var interpreter = new TerminatorInterpreter();

            Assert.False(interpreter.CanInterpret(">>> RESTART", new SkillFlowInterpretationContext(new SkillFlowInterpretationOptions())));
        }