예제 #1
0
        public void ToStringTest()
        {
            var target = new AggregateEntity(
                new NounPhrase(new ProperPluralNoun("Americans")),
                new NounPhrase(new ProperPluralNoun("Canadians"))
                );
            var    expected = "[ 2 ] NounPhrase \"Americans\" NounPhrase \"Canadians\"";
            string actual;

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