public void AddLocationCommandTest()
        {
            location = EntityFactory.CreateLocation(1, "Venezolania", "cagua");
            AddLocationCommand command = CommandFactory.createAddLocationCommand(location);

            command.Execute();
            LOCATION_ID = command.GetResult();
            Assert.NotNull(LOCATION_ID);
        }
Exemple #2
0
        public void Init()
        {
            Location location = new Location();

            location = EntityFactory.CreateLocation(1, "Venezolaniooo", "caguooa");
            AddLocationCommand command = CommandFactory.createAddLocationCommand(location);

            command.Execute();
            LOCATION_ID = command.GetResult();
            Assert.NotNull(LOCATION_ID);
        }