public void GetAll_Deveria_Retornar_Todos_As_Reunioes() { //Arrange Reuniao resultReuniao = _reuniaoRepository.Save(_reuniaoDefault); //Action List <Reuniao> resultGetAll = _reuniaoRepository.GetAll(); //Assert var ultimoReuniao = resultGetAll[resultGetAll.Count - 1]; resultGetAll.Should().NotHaveCount(0); resultGetAll.Should().HaveCount(1); ultimoReuniao.Should().Equals(_reuniaoDefault); }
public List <Reuniao> GetAll() { return(_reuniaoRepository.GetAll()); }