示例#1
0
        public void GetCargosTest()
        {
            CargoDAO target = new CargoDAO();

            cargo = CreateCargo();
            target.InsertCargo(cargo);
            oldId      = cargo.CargoId;
            cargo.Type = "newType";
            target.InsertCargo(cargo);
            List <Cargo> cargos = target.GetCargos();

            Assert.IsNotNull(cargos);
        }