Пример #1
0
        public void ValidarCoberturaDePlanosSulAmerica()
        {
            //Arrange
            PlanoDeSaude planoDeSaude = new PlanoDeSaude();
            planoDeSaude.CNPJ = "004.004.0004/00004-40";
            TipoExame tipoExame = new TipoExame("Exame de Sangue");
            Exame exame = new Exame(tipoExame, new System.DateTime(2015, 10, 10));

            //Act
            var retorno = planoDeSaude.VerificarCobertura(exame);

            //Arrange
            Assert.IsTrue(retorno == true);
        }
Пример #2
0
        public void ValidarCoberturaDePlanosDeBradesco()
        {
            //Arrange
            PlanoDeSaude planoDeSaude = new PlanoDeSaude();
            planoDeSaude.CNPJ = "002.002.0002/00002-20";
            TipoExame tipoExame = new TipoExame("Exame de Sangue");
            Exame exame = new Exame(tipoExame, new System.DateTime(2015, 10, 10));

            //Act
            var retorno = planoDeSaude.VerificarCobertura(exame);

            //Arrange
            Assert.IsTrue(retorno == false);
        }