Exemplo n.º 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));
        }
Exemplo n.º 2
0
 public void InflectTo(Case @case)
 {
     Reset();
     _petrovich.InflectTo(@case);
 }
Exemplo n.º 3
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));
        }