Ejemplo n.º 1
0
        public void RollbackTest()
        {
            //ModelGRDelete m = null; // TODO: Initialize to an appropriate value

            GRDelete target = new GRDelete(3); // TODO: Initialize to an appropriate value
            int expected = 0; // TODO: Initialize to an appropriate value
            int actual;
            actual = target.Rollback();
            Assert.AreEqual(expected, actual);
        }
Ejemplo n.º 2
0
 public void CommitTest()
 {
     ModelGRDelete m = new ModelGRDelete() {
          GRNumber = "5000406156",
          GRItemNumber = "0001",
          UserID = 1513
     };
     GRDelete target = new GRDelete(m); // TODO: Initialize to an appropriate value
     int expected = 0; // TODO: Initialize to an appropriate value
     int actual;
     actual = target.Commit();
     Assert.AreEqual(expected, actual);
 }