コード例 #1
0
        public void AddLocationCommandTest()
        {
            location = EntityFactory.CreateLocation(1, "Venezolania", "cagua");
            AddLocationCommand command = CommandFactory.createAddLocationCommand(location);

            command.Execute();
            LOCATION_ID = command.GetResult();
            Assert.NotNull(LOCATION_ID);
        }
コード例 #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);
        }