示例#1
0
        public void Should_throw_ArgumentNullException_if_last_name_is_not_provided()
        {
            var petrovich = new Petrovich();

            Assert.Throws <ArgumentNullException>(() => petrovich.InflectLastNameTo(Case.Accusative));
        }
 public string InflectLastNameTo(Case @case)
 {
     Reset();
     return _petrovich.InflectLastNameTo(@case);
 }
示例#3
0
        public void Should_throw_ArgumentNullException_if_last_name_is_not_provided()
        {
            var petrovich = new Petrovich();

            Assert.Throws<ArgumentNullException>(() => petrovich.InflectLastNameTo(Case.Accusative));
        }