public BlueprintEntity BlueprintToEntiy(IBlueprint toConvert)
        {
            UserAndEntityConverter userEntityConverter = new UserAndEntityConverter();
            BlueprintEntity        conversion          = new BlueprintEntity()
            {
                Name   = toConvert.Name,
                Length = toConvert.Length,
                Width  = toConvert.Width,
                Owner  = userEntityConverter.ToEntity(toConvert.Owner),
                Id     = toConvert.GetId()
            };

            return(conversion);
        }
        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);
        }