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); }
public void Should_throw_ArgumentNullException_if_last_name_is_not_provided() { var petrovich = new Petrovich(); Assert.Throws<ArgumentNullException>(() => petrovich.InflectLastNameTo(Case.Accusative)); }