public void SetUp()
        {
            BackupCurrentLanguage();
            Compiler = Substitute.For <FeatureCompiler>();
            Compiler.StepNamesOf(null, null).ReturnsForAnyArgs(
                new List <string>());

            Given.Feature.Name = "FeatureName";
            Given.Compiler.Is(Compiler);
        }
        public void should_complete_repeated_Steps()
        {
            const string FirstStep  = "I'm knocking on the doors of your Hummer";
            const string SecondStep = "Yeah, we hungry like the wolves hunting dinner";

            Compiler.StepNamesOf(null, null).ReturnsForAnyArgs(
                new List <string> {
                FirstStep,
                SecondStep
            });

            When.For("I'm").ShouldContain(FirstStep);
            When.For("Ye").ShouldContain(SecondStep);
        }