Beispiel #1
0
        public void Should_throw_ArgumentNullException_if_any_name_is_not_provided(string firstName, string lastName, string middleName)
        {
            var petrovich = new Petrovich();

            Assert.Throws <ArgumentNullException>(() => petrovich.InflectTo(Case.Accusative));
        }
 public void InflectTo(Case @case)
 {
     Reset();
     _petrovich.InflectTo(@case);
 }
        public void Should_throw_ArgumentNullException_if_any_name_is_not_provided(string firstName, string lastName, string middleName)
        {
            var petrovich = new Petrovich();

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