public void DeveLancarExcecaoCasoListagemEstejaVaziaOuNula() { Assert.Throws <DomainException>(() => { _namesService.SaveAuthors(null); }); Assert.Throws <DomainException>(() => { _namesService.SaveAuthors(new List <Author>()); }); }