private void SetBlueprint()
        {
            toReport.InsertWall(new Point(0, 0), new Point(5, 0));
            toReport.InsertWall(new Point(0, 0), new Point(0, 5));
            toReport.InsertColumn(new Point(1, 1));
            toReport.InsertColumn(new Point(1, 2));
            Template temp    = new Template("Slider", 2, 1, 1.9F, ComponentType.WINDOW);
            Opening  window1 = new Window(new Point(0, 2), temp);
            Opening  window2 = new Window(new Point(2, 0), temp);

            toReport.InsertOpening(window1);
            toReport.InsertOpening(window2);
        }
        public void InsertWall(Point from, Point to)
        {
            CheckPermission(Permission.EDIT_BLUEPRINT);

            blueprint.InsertWall(from, to);
            repository.Modify(blueprint);
            HasBeenModify = true;
        }
        public void WallsPersistenceCountTest()
        {
            blueprint1.InsertWall(new Point(2, 2), new Point(3, 2));
            blueprint1.InsertWall(new Point(2, 2), new Point(2, 4));
            portfolio.Add(blueprint1);
            IBlueprint retrieved      = portfolio.Get(blueprint1.GetId());
            int        expectedResult = 2;
            int        actualResult   = retrieved.GetWalls().Count;

            Assert.AreEqual(expectedResult, actualResult);
        }