Esempio n. 1
0
        public void ToStringTest()
        {
            Phrase.VerboseOutput = false;
            var target = new VerbPhrase(
                new BaseVerb("run"),
                new Adverb("swiftly"),
                new Preposition("through")
                );
            var    expected = "VerbPhrase \"run swiftly through\"";
            string actual;

            actual = target.ToString();
            Check.That(actual).IsEqualTo(expected);
        }