Exemplo n.º 1
0
        public void TestMethod1()
        {
            // Arrange
            PhysicalPersonModel       phycalPerson = new PhysicalPersonModel("julio cesar", "11298978699", "10/10/2010", "selma irene");
            PhysicalPersonCoordinator coordinator  = new PhysicalPersonCoordinator(phycalPerson);

            // Act
            Investigation investigation = coordinator.Run();

            // Assert
            Assert.Equals(investigation.Completed, true);
        }
        public void TestMethod1()
        {
            // Arrange
            var examplePhysicalPerson = new PhysicalPersonModel()
            {
                CPF = "27133090007",
                RG  = "305922622"
            };

            // Act
            var coordinator = new PhysicalPersonCoordinator(examplePhysicalPerson).StartSearch();

            // Assert
            Assert.AreEqual(coordinator.ResultadoFinal.Completed, true);
        }
        public void TestMethod1()
        {
            // Arrange
            var examplePhysicalPerson = new PhysicalPersonModel()
            {
                NomeCompleto     = "JULIO AVILA",
                CPF              = "1111111111",
                RG               = "22222222222",
                DataDeNascimento = "23/01/1997",
                NomeDaMae        = "SELMA AVILA"
            };
            var coordinator = new PhysicalPersonCoordinator(examplePhysicalPerson);

            // Act
            var investigation = coordinator.Run();

            // Assert
            Assert.Equals(investigation.Completed, true);
        }