Exemplo n.º 1
0
        public void ObtenerEstadoTest()
        {
            ITramitadorFactory target     = CreateITramitadorFactory(); // TODO: Initialize to an appropriate value
            IFlujograma        flujograma = target.CreateFlujograma();  // TODO: Initialize to an appropriate value
            int     estado   = 0;                                       // TODO: Initialize to an appropriate value
            IEstado expected = null;                                    // TODO: Initialize to an appropriate value
            IEstado actual;

            actual = target.ObtenerEstado(flujograma, estado);
            Assert.IsNull(actual);
            //Assert.Inconclusive("Verify the correctness of this test method.");
        }
Exemplo n.º 2
0
        public void ObtenerEstadoTest2()
        {
            ITramitadorFactory target     = CreateITramitadorFactory(); // TODO: Initialize to an appropriate value
            IFlujograma        flujograma = target.CreateFlujograma();  // TODO: Initialize to an appropriate value
            int     estado   = 3;                                       // TODO: Initialize to an appropriate value
            IEstado expected = target.CreateEstado(flujograma);         // TODO: Initialize to an appropriate value

            expected.Estado = 3;
            flujograma.Add(expected);
            IEstado actual;

            actual = target.ObtenerEstado(flujograma, estado);
            Assert.IsNotNull(actual);
            Assert.AreEqual <IEstado>(expected, actual);
            //Assert.Inconclusive("Verify the correctness of this test method.");
        }